FP TSAngularVelocity
Set/get body's angular velocity. (radians/s).
FP TSAngularDamping
Set/get body's angular damping (0 to 1).
void TSApplyTorque(TSVector2 force)
Applies a torque force to the body.
FP TSLinearDamping
Set/get body's linear damping (0 to 1).
bool TSAffectedByGravity
If true the body is affected by gravity.
Represents an interface to 2D bodies.
TSVector2 TSPosition
Set/get body's position.
bool TSIsKinematic
If true the body is managed as kinematic.
TSVector2 TSLinearVelocity
Set/get body's linear velocity.
void TSApplyForce(TSVector2 force)
Applies a force to the body's center.
Represents a common interface to 2D and 3D bodies.
FP TSOrientation
Set/get body's orientation.
void TSApplyImpulse(TSVector2 force)
Applies a impulse to the body's center.