C# Class BEPUphysics.BroadPhaseEntries.MobileCollidables.MobileMeshCollidable

Collidable used by compound shapes.
Inheritance: EntityCollidable
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, RayHit &hit ) : bool

Casts a convex shape against the collidable.

MobileMeshCollidable ( MobileMeshShape shape ) : BEPUphysics.BroadPhaseEntries.Events

Constructs a new mobile mesh collidable.

RayCast ( Ray ray, float maximumLength, RayHit &rayHit ) : bool

Tests a ray against the entry.

RayCast ( Ray ray, float maximumLength, TriangleSidedness sidedness, RayHit &rayHit ) : bool

Tests a ray against the surface of the mesh. This does not take into account solidity.

Méthodes protégées

Méthode Description
UpdateBoundingBoxInternal ( float dt ) : void

Method Details

ConvexCast() public méthode

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, Vector3 &sweep, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Shape to cast.
startingTransform BEPUutilities.RigidTransform Initial transform of the shape.
sweep Vector3 Sweep to apply to the shape.
hit BEPUutilities.RayHit Hit data, if any.
Résultat bool

MobileMeshCollidable() public méthode

Constructs a new mobile mesh collidable.
public MobileMeshCollidable ( MobileMeshShape shape ) : BEPUphysics.BroadPhaseEntries.Events
shape BEPUphysics.CollisionShapes.MobileMeshShape Shape to use in the collidable.
Résultat BEPUphysics.BroadPhaseEntries.Events

RayCast() public méthode

Tests a ray against the entry.
public RayCast ( Ray ray, float maximumLength, RayHit &rayHit ) : bool
ray Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
Résultat bool

RayCast() public méthode

Tests a ray against the surface of the mesh. This does not take into account solidity.
public RayCast ( Ray ray, float maximumLength, TriangleSidedness sidedness, RayHit &rayHit ) : bool
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 BEPUutilities.RayHit The hit location of the ray on the mesh, if any.
Résultat bool

UpdateBoundingBoxInternal() protected méthode

protected UpdateBoundingBoxInternal ( float dt ) : void
dt float
Résultat void