I’m having some trouble porting some Unity scripts to Urho, but nothing really fancy. Could anyone point me to the right direction when it comes to the equivalence of these calls?
- Unity allows you to get the gravity from scripts via Physics.gravity.y, Physics.gravity.x, etc. What’s the Physics object in Urho?
- What would be the equivalent of Mathf.Max?
- What would be the equivalent of Controller.transform? Can i get the X/Y/Z of a node? What about its velocity?
- Vector3.Scale. Is there something similar in Urho?
- Vector3.sqrMagnitude: https://docs.unity3d.com/ScriptReference/Vector3-sqrMagnitude.html