TrueSync
IBody3D.cs
1 namespace TrueSync {
2 
6  public interface IBody3D : IBody {
7 
12  get; set;
13  }
14 
19  get; set;
20  }
21 
26  get; set;
27  }
28 
33  get; set;
34  }
35 
40  get; set;
41  }
42 
47  get; set;
48  }
49 
53  void TSApplyForce(TSVector force);
54 
58  void TSApplyForce(TSVector force, TSVector position);
59 
63  void TSApplyImpulse(TSVector force);
64 
68  void TSApplyImpulse(TSVector force, TSVector position);
69 
73  void TSApplyTorque(TSVector force);
74 
75  }
76 
77 }
TSVector TSPosition
Set/get body's position.
Definition: IBody3D.cs:11
TSMatrix TSOrientation
Set/get body's orientation.
Definition: IBody3D.cs:18
void TSApplyForce(TSVector force)
Applies a force to the body's center.
void TSApplyImpulse(TSVector force)
Applies a impulse to the body's center.
A vector structure.
Definition: TSVector.cs:29
void TSApplyTorque(TSVector force)
Applies a torque force to the body.
Represents an interface to 3D bodies.
Definition: IBody3D.cs:6
bool TSIsKinematic
If true the body is managed as kinematic.
Definition: IBody3D.cs:32
3x3 Matrix.
Definition: TSMatrix.cs:26
bool TSAffectedByGravity
If true the body is affected by gravity.
Definition: IBody3D.cs:25
TSVector TSLinearVelocity
Set/get body's linear velocity.
Definition: IBody3D.cs:39
TSVector TSAngularVelocity
Set/get body's angular velocity.
Definition: IBody3D.cs:46
Represents a common interface to 2D and 3D bodies.
Definition: IBody.cs:6