PhysicsBody
The object’s rigid physics body.
Kolpa.Engine.PhysicsBody
public sealed class PhysicsBody : Component{ public PhysicsBody(); public float Friction { get; set; } public float GravityScale { set; } public float Mass { get; set; } public MotionType Motion { get; } public float Restitution { get; set; } public Vector3 ShapeOffset { set; } public Vector3 Velocity { get; set; } public void ApplyForce(Vector3 force); public void ApplyImpulse(Vector3 impulse); public void SetDamping(float linear, float angular); public static bool TryGetMotion(GameObject go, out MotionType motion);}