Method | Description | |
---|---|---|
ApplyObjectForce ( Microsoft.Xna.Framework.Vector3 objectforce ) : void |
Applies force to the object. The total force is used to move the object during the next call to Begin().
|
|
ApplyObjectForce ( Microsoft.Xna.Framework.Vector3 objectposition, Microsoft.Xna.Framework.Vector3 objectforce ) : void |
Applies force to the object. The total force is used to move the object during the next call to Update().
|
|
ApplyWorldForce ( Microsoft.Xna.Framework.Vector3 worldposition, Microsoft.Xna.Framework.Vector3 worldforce ) : void |
Applies force to the object. The total force is used to move the object during the next call to Update().
|
|
ApplyWorldForce ( Microsoft.Xna.Framework.Vector3 worldforce, bool constantforce ) : void |
Applies force to the object. The total force is used to move the object during the next call to Begin().
|
|
Begin ( ) : void |
Applies eventual ParentObject collision information changes to the current ISpaceObject instance.
|
|
Disable ( ) : void | ||
Enable ( ) : void | ||
End ( ) : void |
Applies the current ISpaceObject World matrix changes to the ParentObject.
|
|
Initialize ( ) : void |
Initializes the current instance
|
|
OnRemovedFromManager ( IManagerService manager ) : void |
Called when the parent object is removed from a manager.
|
|
OnSubmittedToManager ( IManagerService manager ) : void |
Called when the parent object is submitted to a manager.
|
|
React ( CollisionPoint worldcollisionpoint ) : void |
Calculates and applies the reaction force between the object and the collision surface contained in the CollisionPoint.
|
|
RemoveForces ( ) : void |
Removes all accumulated forces acting on the object. This will halt the object movement, however future forces (such as gravity) can immediately begin acting on the object again.
|
Method | Description | |
---|---|---|
BEPUCollisionMove ( ICollisionObject collisionObject ) : BEPUphysics |
Creates a new instance
|
|
OnCollisionDetected ( |
Raises the appropriate ParentObject collision events depending on its CollisionType value
|
public abstract ApplyObjectForce ( Microsoft.Xna.Framework.Vector3 objectforce ) : void | ||
objectforce | Microsoft.Xna.Framework.Vector3 | Amount of object-space force to apply to the object. |
return | void |
public abstract ApplyObjectForce ( Microsoft.Xna.Framework.Vector3 objectposition, Microsoft.Xna.Framework.Vector3 objectforce ) : void | ||
objectposition | Microsoft.Xna.Framework.Vector3 | Object-space location the force is applied to the object. /// This allows off-center forces, which cause rotation. |
objectforce | Microsoft.Xna.Framework.Vector3 | Amount of object-space force to apply to the object. |
return | void |
public abstract ApplyWorldForce ( Microsoft.Xna.Framework.Vector3 worldposition, Microsoft.Xna.Framework.Vector3 worldforce ) : void | ||
worldposition | Microsoft.Xna.Framework.Vector3 | World-space location the force is applied to the object. /// This allows off-center forces, which cause rotation. |
worldforce | Microsoft.Xna.Framework.Vector3 | Amount of world-space force to apply to the object. |
return | void |
public abstract ApplyWorldForce ( Microsoft.Xna.Framework.Vector3 worldforce, bool constantforce ) : void | ||
worldforce | Microsoft.Xna.Framework.Vector3 | Amount of world-space force to apply to the object. |
constantforce | bool | Determines if the force is from a constant /// source such as gravity, wind, or similar (eg: applied by the caller /// every frame instead of a single time). |
return | void |
protected BEPUCollisionMove ( ICollisionObject collisionObject ) : BEPUphysics | ||
collisionObject | ICollisionObject | The parent object this instance will be associataed with |
return | BEPUphysics |
protected OnCollisionDetected ( |
||
sender | The current ISpaceObject instance | |
other | The ISpaceObject instance which collided | |
pair | ||
return | void |
public OnRemovedFromManager ( IManagerService manager ) : void | ||
manager | IManagerService | |
return | void |
public OnSubmittedToManager ( IManagerService manager ) : void | ||
manager | IManagerService | |
return | void |
public React ( CollisionPoint worldcollisionpoint ) : void | ||
worldcollisionpoint | CollisionPoint | Contains information about the closest collision point to the collider. |
return | void |