Sanity check: What units?

Started by Oz · one year ago · 5 replies · 170 views

#1
Oz
Member
JoinedJul 2022 Posts18 Score100
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?
#2
AleD
Member
JoinedAug 2022 Posts3 Score875
 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). 
#3
garry
Facepunch
JoinedApr 2021 Posts436 Score2,270
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.
#4
Oz
Member
JoinedJul 2022 Posts18 Score100
@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!
delete
Deleted Post
edited 4 months ago#6
Raubhamster
Member
JoinedFeb 2025 Posts16 Score95
What about Rigidbody.Mass? Is it kg, pound, something else? 🤔
And NavMeshAgent.MaxSpeed is inch/per second?

Working with other units than m or cm really confuses me. 🤯



people
Log in to reply
You can't reply if you're not logged in. That would be crazy.