Property | Type | Description | |
---|---|---|---|
entity | Entity | ||
events | ContactEventManager |
||
localPosition | System.Vector3 | ||
worldTransform |
Method | Description | |
---|---|---|
UpdateBoundingBox ( ) : void |
Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.
|
|
UpdateBoundingBox ( float dt ) : void |
Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.
|
|
UpdateBoundingBoxForTransform ( |
Updates the collidable's world transform and bounding box. This is a convenience method for external modification of the collidable's data.
|
|
UpdateBoundingBoxForTransform ( |
Updates the collidable's world transform and bounding box. The transform provided will be offset by the collidable's LocalPosition to get the shape transform. This is a convenience method for external modification of the collidable's data.
|
|
UpdateWorldTransform ( System.Vector3 &position, Quaternion &orientation ) : void |
Updates the world transform of the shape using the given position and orientation. The world transform of the shape is offset from the given position and orientation by the collidable's LocalPosition.
|
Method | Description | |
---|---|---|
CollisionRulesUpdated ( ) : void | ||
EntityCollidable ( ) : BEPUphysics.BroadPhaseEntries.Events | ||
EntityCollidable ( |
||
OnEntityChanged ( ) : void | ||
UpdateBoundingBoxInternal ( float dt ) : void |
Method | Description | |
---|---|---|
ExpandBoundingBox ( BEPUutilities.BoundingBox &boundingBox, float dt ) : void |
protected EntityCollidable ( ) : BEPUphysics.BroadPhaseEntries.Events | ||
return | BEPUphysics.BroadPhaseEntries.Events |
protected EntityCollidable ( |
||
shape | ||
return | BEPUphysics.BroadPhaseEntries.Events |
public UpdateBoundingBox ( float dt ) : void | ||
dt | float | Timestep with which to update the bounding box. |
return | void |
public UpdateBoundingBoxForTransform ( |
||
transform | Transform to use for the collidable. | |
return | void |
public UpdateBoundingBoxForTransform ( |
||
transform | Transform to use for the collidable. | |
dt | float | Duration of the simulation time step. Used to expand the /// bounding box using the owning entity's velocity. If the collidable /// does not have an owning entity, this must be zero. |
return | void |
protected abstract UpdateBoundingBoxInternal ( float dt ) : void | ||
dt | float | |
return | void |
public UpdateWorldTransform ( System.Vector3 &position, Quaternion &orientation ) : void | ||
position | System.Vector3 | Position to use for the calculation. |
orientation | Quaternion | Orientation to use for the calculation. |
return | void |