Komodo Engine
C PROJECT_LOGO=
|
Class defining dynamic bodies. More...
Public Member Functions | |
DynamicBodyComponent (IPhysicsShape shape) | |
void | ApplyForce (Vector3 force) |
Applies a force vector to the body with no regard for the point of application. More... | |
void | ApplyForceAtPoint (Vector3 force, Vector3 pointOfApplication) |
Applies a force vector to the body with regard for the point of application. More... | |
void | ClearVelocities () |
Clears all current velocities. More... | |
override void | Initialize () |
Initializes a DynamicBodyComponent. More... | |
Public Member Functions inherited from Komodo.Core.ECS.Components.RigidBodyComponent | |
override void | Initialize () |
Initializes a RigidBodyComponent. More... | |
Class defining dynamic bodies.
void Komodo.Core.ECS.Components.DynamicBodyComponent.ApplyForce | ( | Vector3 | force | ) |
Applies a force vector to the body with no regard for the point of application.
void Komodo.Core.ECS.Components.DynamicBodyComponent.ApplyForceAtPoint | ( | Vector3 | force, |
Vector3 | pointOfApplication | ||
) |
Applies a force vector to the body with regard for the point of application.
void Komodo.Core.ECS.Components.DynamicBodyComponent.ClearVelocities | ( | ) |
Clears all current velocities.
|
virtual |
Initializes a DynamicBodyComponent.
Reimplemented from Komodo.Core.ECS.Components.PhysicsComponent.