## Maya Training

Creating characters In Maya and Zbrush

## Maya Training

Creating character renders in Maya 2017 and Arnold

## Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

# Welcome to Simply Maya

 Simply Maya User Community - Maya Tutorials cables with gravity effect
 Register FAQ Members List Calendar Mark Forums Read

 06-02-2003, 09:48 PM #1 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post 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.
 07-02-2003, 03:01 AM #2 Calvin Registered User   Join Date: Nov 2002 Location: Philippines Posts: 134 Thanks: 1 Thanked 3 Times in 3 Posts 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
 07-02-2003, 05:00 AM #3 Emo Subscriber     Join Date: Jul 2002 Location: MELville Posts: 1,100 Thanks: 0 Thanked 0 Times in 0 Posts 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 05:02 AM.
 07-02-2003, 04:39 PM #4 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post tkx guys ... i`ll reply when i`m done anyway .... any help will be appreciated
 07-02-2003, 09:36 PM #5 ragecgi Super Moderator     Join Date: Sep 2002 Location: Minnesota, USA Posts: 3,709 Thanks: 0 Thanked 13 Times in 12 Posts Good luck! Looks like you are on the right track! __________________ Israel "Izzy" Long Motion and Title Design for Broadcast-Film-DS izzylong.com
 08-02-2003, 12:08 AM #6 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post 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
 08-02-2003, 12:15 PM #7 Tolerate Registered User   Join Date: Oct 2002 Location: Taunton, UK Posts: 128 Thanks: 0 Thanked 0 Times in 0 Posts i would use soft bodies
 08-02-2003, 12:59 PM #8 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post i`m using springs ... works better then soft bodies
 11-02-2003, 07:22 PM #9 Alan Moderator     Join Date: Oct 2002 Location: London, UK Posts: 2,800 Thanks: 0 Thanked 5 Times in 5 Posts 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
 11-02-2003, 09:55 PM #10 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post 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 10:01 PM.
 11-02-2003, 10:41 PM #11 ragecgi Super Moderator     Join Date: Sep 2002 Location: Minnesota, USA Posts: 3,709 Thanks: 0 Thanked 13 Times in 12 Posts 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
 11-02-2003, 10:46 PM #12 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post here is a small playblast look realistic enough ?
 12-02-2003, 11:09 PM #13 xr1140 Registered User   Join Date: Feb 2003 Posts: 11 Thanks: 0 Thanked 1 Time in 1 Post 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.

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

A little bit about who we are