Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 01-07-2004 , 09:55 AM
Registered User
Join Date: Jul 2003
Location: Australia
Posts: 50

floating object

hi there.

say i want the effect of a sphere hovering gently in the air.
in max i would have just added a noise controller to it's y position controller.

is there an easy way to do this in maya or do i need to write a mel script?

thanks!

Adam.

# 2 01-07-2004 , 11:59 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
you coudl do that in maya but you could use expressions e.g.:

pSphere1.ty = sin(time/4) * 0.8;

that should do it.

Right click the attribute in the channel box and select expressions then find the attribute and type that in.

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 3 01-07-2004 , 12:12 PM
Registered User
Join Date: Jul 2003
Location: Australia
Posts: 50
ok cool
that will not be random movement though? would look a bit. . mechanical?
i'm assuming there's a 'random' command I could add in there somewhere?

# 4 01-07-2004 , 12:24 PM
Registered User
Join Date: Jul 2003
Location: Australia
Posts: 50
also, i need the movement to be relative not absolute, so when i position the sphere, the up down movement will be on top of the existing Y data, not instead of.

thanks! user added image
Adam.

# 5 01-07-2004 , 01:29 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
ok without having to completley spell it out for you user added image:

pSphere1.ty += sin(time/4) * rand(0, 1);


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 6 01-07-2004 , 11:04 PM
Registered User
Join Date: Jul 2003
Location: Australia
Posts: 50
user added image
thanks!

I'm learning MEL at the moment, but I've only just started.

# 7 28-07-2004 , 02:45 AM
Registered User
Join Date: Jul 2003
Location: Australia
Posts: 50
sorry, worked it out, nm.


Last edited by Binabik; 28-07-2004 at 03:07 AM.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads