In Unity, apart from setting Force to a RigidBody, e.g : RigidBody.AddForce(Vector3, ForceMode)
you can also get current velocity of a moving RigidBody.
Unity Script reference :
-
RigidBody.velocity { set; get; }
Unity - Scripting API: Rigidbody.velocity -
RigidBody.GetAccumulateForce()
Unity - Scripting API: Rigidbody.GetAccumulatedForce -
RigidBody.GetPointVelocity()
Unity - Scripting API: Rigidbody.GetPointVelocity
Meanwhile, I can not find a “GET” method for RigidBody class in Flax.
Is there any way to get the velocity or force of a moving RigidBody in Flax ?