Method | Description | |
---|---|---|
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 ( Vector3 &direction, Vector3 &extremePoint ) : void |
Gets the extreme point of the shape in local space in a given direction.
|
|
MinkowskiSumShape ( IList |
Constructs a minkowski sum shape. The sum will be recentered on its local origin. The computed center is outputted by the other constructor.
|
|
MinkowskiSumShape ( IList |
Constructs a minkowski sum shape. The sum will be recentered on its local origin.
|
|
MinkowskiSumShape ( |
Constructs a minkowski sum shape. A minkowski sum can be created from more than two objects; use the other constructors. The sum will be recentered on its local origin. The computed center is outputted by the other constructor.
|
|
MinkowskiSumShape ( |
Constructs a minkowski sum shape. A minkowski sum can be created from more than two objects; use the other constructors. The sum will be recentered on its local origin.
|
Method | Description | |
---|---|---|
ShapesChanged ( ObservableList |
public GetCollidableInstance ( ) : |
||
return |
public GetLocalExtremePointWithoutMargin ( Vector3 &direction, Vector3 &extremePoint ) : void | ||
direction | Vector3 | Direction to find the extreme point in. |
extremePoint | Vector3 | Extreme point on the shape. |
return | void |
public MinkowskiSumShape ( IList |
||
shapeEntries | IList |
Entries composing the minkowski sum. |
return | System |
public MinkowskiSumShape ( IList |
||
shapeEntries | IList |
Entries composing the minkowski sum. |
center | Vector3 | Center of the minkowski sum computed pre-recentering. |
return | System |
public MinkowskiSumShape ( |
||
firstShape | First entry in the sum. | |
secondShape | Second entry in the sum. | |
return | System |
public MinkowskiSumShape ( |
||
firstShape | First entry in the sum. | |
secondShape | Second entry in the sum. | |
center | Vector3 | Center of the minkowski sum computed pre-recentering. |
return | System |