Свойство | Type | Description | |
---|---|---|---|
events | ContactEventManager |
Méthode | Description | |
---|---|---|
ConvexCast ( |
Casts a convex shape against the collidable.
|
|
RayCast ( BEPUutilities.Ray ray, float maximumLength, |
Tests a ray against the entry.
|
|
RayCast ( BEPUutilities.Ray ray, float maximumLength, TriangleSidedness sidedness, |
Tests a ray against the mesh.
|
|
StaticMesh ( System.Vector3 vertices, int indices ) : System |
Constructs a new static mesh.
|
|
StaticMesh ( System.Vector3 vertices, int indices, |
Constructs a new static mesh.
|
|
UpdateBoundingBox ( ) : void |
Updates the bounding box to the current state of the entry.
|
Méthode | Description | |
---|---|---|
OnShapeChanged ( BEPUphysics.CollisionShapes.CollisionShape collisionShape ) : void |
public ConvexCast ( |
||
castShape | Shape to cast. | |
startingTransform | Initial transform of the shape. | |
sweep | System.Vector3 | Sweep to apply to the shape. |
hit | Hit data, if any. | |
Résultat | bool |
protected OnShapeChanged ( BEPUphysics.CollisionShapes.CollisionShape collisionShape ) : void | ||
collisionShape | BEPUphysics.CollisionShapes.CollisionShape | |
Résultat | void |
public RayCast ( BEPUutilities.Ray ray, float maximumLength, |
||
ray | BEPUutilities.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 ( BEPUutilities.Ray ray, float maximumLength, TriangleSidedness sidedness, |
||
ray | BEPUutilities.Ray | Ray to test. |
maximumLength | float | Maximum length to test in units of the ray direction's length. |
sidedness | TriangleSidedness | Sidedness to use when raycasting. Doesn't have to be the same as the mesh's own sidedness. |
rayHit | Data about the ray's intersection with the mesh, if any. | |
Résultat | bool |
public StaticMesh ( System.Vector3 vertices, int indices ) : System | ||
vertices | System.Vector3 | Vertex positions of the mesh. |
indices | int | Index list of the mesh. |
Résultat | System |
public StaticMesh ( System.Vector3 vertices, int indices, |
||
vertices | System.Vector3 | Vertex positions of the mesh. |
indices | int | Index list of the mesh. |
worldTransform | Transform to use to create the mesh initially. | |
Résultat | System |