Duion Posted January 15, 2017 Posted January 15, 2017 So there is the getVelocity command which gets the velocity, only problem is, it returns the velocity for each axis x,y,z, to make it more complicated it can be positive and negative as well so you could get a result like +5.2, -2.4, 0.1 which means +5.2 into the positive x-axis and 2.4 towards the negative y-axis and 0.1 upwards.How you get the objects speed now in meters per second like it is used in the datablock?Do I really have to do complicated math to convert all of this values into one positive number or is there a better method? Quote
damik Posted January 15, 2017 Posted January 15, 2017 try%vel = VectorDist( "0 0 0", %obj.getVelocity() ); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.