Adds physics properties to an object. Requires a collider to be attached to the same object.
ApplyForce |
Applies linear force to this body |
ApplyForceAt |
Applies force to this body at given position. |
ApplyImpulse |
Applies instant linear impulse (i.e. a bullet impact) to this body |
ApplyImpulseAt |
Applies instant linear impulse (i.e. a bullet impact) to this body at given position |
ApplyTorque |
Applies angular velocity to this body. |
ClearForces |
Clear accumulated linear forces (Sandbox.Rigidbody.ApplyForce(Vector3@) and Sandbox.Rigidbody.ApplyForceAt(Vector3@,Vector3@)) during this physics frame that were not yet applied to the physics body. |
FindClosestPoint |
Returns the closest point to the given one between all convex shapes of this body. |
GetVelocityAtPoint |
Returns the world space velocity of a point of the object. This is useful for objects rotating around their own axis/origin. |
SmoothMove |
Move body to this position in a way that cooperates with the physics system. This is quite
good for things like grabbing and moving objects. |
SmoothRotate |
Rotate the body to this position in a way that cooperates with the physics system. |