PDA

View Full Version : Script for obects velocity? is there one>_M_R_Hand_Rotate_One?


pete
02-18-2003, 02:54 AM
Hi there,

Iv'e been using the distance A B Script for heaps of character stuff lately and I was wondering if there was a similar script for getting the velocity of a certain Object and also one to grab a vale from a float then use it a few frames later, Sort of like a lag but for float values...


Thanks - peeteey

phil
02-18-2003, 06:37 AM
at time (currenttime - 5) $yourobject.pos

this will get the position of your object from 5 frames ago.

you can use this to get your velocity values.

cheers

pete
02-18-2003, 11:05 PM
Excellent thanks man,
that should really help with the Lag stuff but do you have to do some huge equation to get the velocity?

CGTalk Moderation
01-14-2006, 11:00 AM
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.