C# 클래스 BEPUphysics.BroadPhaseEntries.MobileCollidables.MobileMeshCollidable

Collidable used by compound shapes.
상속: EntityCollidable
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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