Property | Type | Description | |
---|---|---|---|
shape | |||
transform |
Method | Description | |
---|---|---|
ComputeCenter ( ) : System.Vector3 |
Computes the center of the shape. This can be considered its center of mass.
|
|
ComputeCenter ( float &volume ) : System.Vector3 |
Computes the center of the shape. This can be considered its center of mass. This calculation is often associated with the volume calculation, which is given by this method as well.
|
|
ComputeMaximumRadius ( ) : float |
Computes the maximum radius of the shape. This is often larger than the actual maximum radius; it is simply an approximation that avoids underestimating.
|
|
ComputeMinimumRadius ( ) : float |
Computes the minimum radius of the shape. This is often smaller than the actual minimum radius; it is simply an approximation that avoids overestimating.
|
|
GetCollidableInstance ( ) : |
Retrieves an instance of an EntityCollidable that uses this EntityShape. Mainly used by compound bodies.
|
|
GetLocalExtremePointWithoutMargin ( System.Vector3 &direction, System.Vector3 &extremePoint ) : void |
Gets the extreme point of the shape in local space in a given direction.
|
|
TransformableShape ( |
Constructs a new transformable shape.
|
public ComputeCenter ( float &volume ) : System.Vector3 | ||
volume | float | Volume of the shape. |
return | System.Vector3 |
public GetCollidableInstance ( ) : |
||
return |
public GetLocalExtremePointWithoutMargin ( System.Vector3 &direction, System.Vector3 &extremePoint ) : void | ||
direction | System.Vector3 | Direction to find the extreme point in. |
extremePoint | System.Vector3 | Extreme point on the shape. |
return | void |
public TransformableShape ( |
||
shape | Base shape to transform. | |
transform | Transform to use. | |
return | System |
protected ConvexShape,BEPUphysics.CollisionShapes.ConvexShapes shape | ||
return |