Sanity check: What units?
Reply on sbox.game-
It's probably on my end, but I'm working with a lot of vehicle dynamics formulas and they're pretty much all in metric system. I don't mind working in other units, but just as a sanity check, can someone tell me what unit certain functions return.
The main one I'm curious about is: GetVelocityAtPoint. Does it return it in inches? -
Units in Id Software and Valve engines are referred to as quake units (qu) or hammer units (hu), and are usually loosely analogous to roughly 1 inch, 0.75 inches, or 2-3 centimeters (see Dimensions).
-
It's all inches at the moment. We do need to have a serious discussion about it, and I wish we made the change earlier.
-
@AleD yeah I saw those but I wanted a sanity check since S&Box has changed the physics engine ( from what I understand ).
@garry thanks, yeah I can imagine it might be a pain to change. Good luck! -
Unknown
-
What about
Rigidbody.Mass? Is it kg, pound, something else? 🤔
AndNavMeshAgent.MaxSpeedis inch/per second?
Working with other units than m or cm really confuses me. 🤯