PDA

View Full Version : At time not working, I think


mhdmhd
06-16-2011, 07:12 PM
At time 20( $.position.controller[2].controller.getWeight 2)
Why this is not working, it gives me the weight at the current time.

jonlauf
06-16-2011, 07:33 PM
not sure why it doesn't work, but this seems to:

at time 20 ($.position.controller[2].controller[2].value)

mhdmhd
06-16-2011, 09:51 PM
Thank you that worked for me but someone tells me what is wrong with the first method?

Pjanssen
06-16-2011, 11:02 PM
Looks like there's no space character between the 20 and the parenthesis, but there is one after it. So just a typo I guess :)

denisT
06-16-2011, 11:52 PM
Thank you that worked for me but someone tells me what is wrong with the first method?

getWeight method returns the weight value at the current time.
at time context doesn't effect the method's behavior. it's just the way how the controller works.

CGTalk Moderation
06-16-2011, 11:52 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.