Notifications
Clear all

[Closed] At time not working, I think

At time 20( $.position.controller[2].controller.getWeight 2)
Why this is not working, it gives me the weight at the current time.

4 Replies

not sure why it doesn’t work, but this seems to:

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

Thank you that worked for me but someone tells me what is wrong with the first method?

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

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.

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