Méthode | Description | |
---|---|---|
ConvexCast ( |
Casts a convex shape against the collidable.
|
|
MobileMeshCollidable ( |
Constructs a new mobile mesh collidable.
|
|
RayCast ( Ray ray, float maximumLength, |
Tests a ray against the entry.
|
|
RayCast ( Ray ray, float maximumLength, TriangleSidedness sidedness, |
Tests a ray against the surface of the mesh. This does not take into account solidity.
|
Méthode | Description | |
---|---|---|
UpdateBoundingBoxInternal ( float dt ) : void |
public ConvexCast ( |
||
castShape | Shape to cast. | |
startingTransform | Initial transform of the shape. | |
sweep | Vector3 | Sweep to apply to the shape. |
hit | Hit data, if any. | |
Résultat | bool |
public MobileMeshCollidable ( |
||
shape | Shape to use in the collidable. | |
Résultat | BEPUphysics.BroadPhaseEntries.Events |
public RayCast ( Ray ray, float maximumLength, |
||
ray | Ray | Ray to test. |
maximumLength | float | Maximum length, in units of the ray's direction's length, to test. |
rayHit | Hit location of the ray on the entry, if any. | |
Résultat | bool |
public RayCast ( Ray ray, float maximumLength, TriangleSidedness sidedness, |
||
ray | Ray | Ray to test. |
maximumLength | float | Maximum length of the ray to test; in units of the ray's direction's length. |
sidedness | TriangleSidedness | Sidedness to use during the ray cast. This does not have to be the same as the mesh's sidedness. |
rayHit | The hit location of the ray on the mesh, if any. | |
Résultat | bool |
protected UpdateBoundingBoxInternal ( float dt ) : void | ||
dt | float | |
Résultat | void |