Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 06-02-2003, 09: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, 03: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, 05: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 05:02 AM.
Emo is offline   Reply With Quote
Old 07-02-2003, 04: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, 09: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 08-02-2003, 12:08 AM   #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, 12:15 PM   #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, 12:59 PM   #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, 07: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, 09: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 10:01 PM.
xr1140 is offline   Reply With Quote
Old 11-02-2003, 10: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, 10: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, 11: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
Reply


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

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.