Andy Gilbert Posted December 7, 2009 Share Posted December 7, 2009 How can i calculate this? I know the how, but not in LE? I tried calculating the distance travelled between each frame against the apptime but.. didnt seem to get the correct results. Thanks Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
Josh Posted December 7, 2009 Share Posted December 7, 2009 GetBodyVelocity? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Andy Gilbert Posted December 7, 2009 Author Share Posted December 7, 2009 Might try that, seems like a good command! Cheers Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
Andy Gilbert Posted December 7, 2009 Author Share Posted December 7, 2009 Josh, how can i cake it so i am calculating the velocity of the objects in its direction? As apposed to just along its axis? thanks Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
Canardia Posted December 7, 2009 Share Posted December 7, 2009 Length(GetBodyVelocity(body)); Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Andy Gilbert Posted December 8, 2009 Author Share Posted December 8, 2009 Cheers, is that a LE command or a specific syntax command? Im using lua and cant seem to get that working? And also, im confused with the command. By using that, it will give me a velocity of an object or axis in which ever direction it is going? What i mean by that is.. if i check the velocity of axis X.. and i apply a force behind it, it will move forward along X at V, if i rotate it or apply torque to 180 degrees so its moving back towards me V is now negative (even though the body is still moving forward). I need its relative body velocity. Thanks Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.