SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 06-02-2003, 08:48 PM   #1
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default cables with gravity effect

hi guys, i need your help on this one, but first i must apologize for my english (not my mother language). The problem is that i need an electric cable with real gravity effect, below is a list of ingredients i use in my scene:

- 2 locators (to control ends of the cable)
- 1 NURBS curve with 6 CVs (to deform the cable)
- 6 clusters, 1 on each CV of the curve
- 1 NURBS cylinder with lots of spans for good deformation
- 1 wire deformer (put on cylinder and curve and Local influence = 1)
- 1 poly floor (passive rigid body)
- 2 little poly cubs (active rigid body)
- 1 gravity field

To deform the cylinder i`ve decide to use an wire deformer, so i`ll use that curve for this. To produce the deformation i`ve put a cluster on every CV of the curve (which is wire deformer). Now i`ve start to point constrain the clusters like below:

cluster_1 constrained to locator_1 (constraint value = 1)
cluster_2 constrained to cluster_1 and cluster_3 (constraint value = 0.5 for both)
cluster_3 constrained to cluster_2 and cluster_4 (constraint value = 0.5 for both)
cluster_4 constrained to cluster_3 and cluster_5 (constraint value = 0.5 for both)
cluster_5 constrained to cluster_4 and cluster_6 (constraint value = 0.5 for both)
cluster_6 constrained to locator_2 (constraint value = 1)

to use the gravity effect i`ve point constrained cluster 3 and 4 like below:

cluster_3 constrained to cube_1 (constraint value = 0.5)
cluster_4 constrained to cube_2 (constraint value = 0.5)

well every thing looks good but i want to be able to make the NURBS curve to have a fixed length, i mean if i move locator_1 up in Y i want cube_1 to follow according to curve length instead of stretching the curve, so i need to limits the gravity effect on the cube_1 in some way. Now the cubes don`t stop until then reach the floor and that`s not good.


any help, suggestion, comment will be greatly appreciated.
xr1140 is offline   Reply With Quote
Old 07-02-2003, 02:01 AM   #2
Calvin
Registered User
 
Join Date: Nov 2002
Location: Philippines
Posts: 134
Thanks: 1
Thanked 3 Times in 3 Posts
Default

RageCGI gave me a link to this plug-in in Highend3d.com. It works really well. I have to play with it a bit more, though. It creates a fixed length curve.
When you get your set-up to work, I'd like to see it! Enjoy!

http://www.highend3d.com/maya/plugi...=animation#2125
Calvin is offline   Reply With Quote
Old 07-02-2003, 04:00 AM   #3
Emo
Subscriber
 
Emo's Avatar
 
Join Date: Jul 2002
Location: MELville
Posts: 1,100
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Calvin, the URL is not right..

here it is

For Maya 4.5
http://www.highend3d.com/files/dl.3d...p&file_id=2125


For Maya 4.0
http://www.highend3d.com/files/dl.3d...ip&file_id=866

-Emo

Last edited by Emo : 07-02-2003 at 04:02 AM.
Emo is offline   Reply With Quote
Old 07-02-2003, 03:39 PM   #4
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

tkx guys ... i`ll reply when i`m done anyway .... any help will be appreciated
xr1140 is offline   Reply With Quote
Old 07-02-2003, 08:36 PM   #5
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Good luck!

Looks like you are on the right track!
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 07-02-2003, 11:08 PM   #6
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

well not quite ... i mean not with that plugin, is not what i need ... but i`ve solve the problem

i`ll try to simplify the process e a little bit and i`ll put everything on a script
xr1140 is offline   Reply With Quote
Old 08-02-2003, 11:15 AM   #7
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i would use soft bodies
Tolerate is offline   Reply With Quote
Old 08-02-2003, 11:59 AM   #8
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

i`m using springs ... works better then soft bodies
xr1140 is offline   Reply With Quote
Old 11-02-2003, 06:22 PM   #9
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

try my tute (right here on simplymaya ) that does it with dynamics you might need to do some tweaking but you can make a cable that will act as though it's got gravity pulling it.

http://forum.simplymaya.com/showthre...?threadid=3872
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 11-02-2003, 08:55 PM   #10
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

i`ll take a look ... tkx for info Pure_Morning

anyway i`ve solve my problem in a very nice way , if i have some spare time i`ll make a little tutorial

Last edited by xr1140 : 11-02-2003 at 09:01 PM.
xr1140 is offline   Reply With Quote
Old 11-02-2003, 09:41 PM   #11
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Please do!

I'll look forward to it when you get the time
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 11-02-2003, 09:46 PM   #12
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

here is a small playblast look realistic enough ?
xr1140 is offline   Reply With Quote
Old 12-02-2003, 10:09 PM   #13
xr1140
Registered User
 
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

here is the tutorial i`ve promised, hope you all enjoy it. Any kind of feedback will be apreciated since it`s my first tutorial publised.
xr1140 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stepping effect in fluid gubar Dynamics & Special Effects 2 03-12-2010 09:42 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.