C# Класс BEPUphysics.BroadPhaseEntries.MobileCollidables.MobileMeshCollidable

Collidable used by compound shapes.
Наследование: EntityCollidable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
UpdateBoundingBoxInternal ( float dt ) : void

Описание методов

ConvexCast() публичный Метод

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.
Результат bool

MobileMeshCollidable() публичный Метод

Constructs a new mobile mesh collidable.
public MobileMeshCollidable ( MobileMeshShape shape ) : BEPUphysics.BroadPhaseEntries.Events
shape BEPUphysics.CollisionShapes.MobileMeshShape Shape to use in the collidable.
Результат BEPUphysics.BroadPhaseEntries.Events

RayCast() публичный Метод

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.
Результат bool

RayCast() публичный Метод

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.
Результат bool

UpdateBoundingBoxInternal() защищенный Метод

protected UpdateBoundingBoxInternal ( float dt ) : void
dt float
Результат void