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

Mobile collidable acting as a collision proxy for an entity.
Наследование: BEPUphysics.BroadPhaseEntries.MobileCollidables.MobileCollidable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
entity Entity
events ContactEventManager
localPosition System.Vector3
worldTransform BEPUutilities.RigidTransform

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

Метод Описание
UpdateBoundingBox ( ) : void

Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.

UpdateBoundingBox ( float dt ) : void

Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.

UpdateBoundingBoxForTransform ( RigidTransform &transform ) : void

Updates the collidable's world transform and bounding box. This is a convenience method for external modification of the collidable's data.

UpdateBoundingBoxForTransform ( RigidTransform &transform, float dt ) : void

Updates the collidable's world transform and bounding box. The transform provided will be offset by the collidable's LocalPosition to get the shape transform. This is a convenience method for external modification of the collidable's data.

UpdateWorldTransform ( System.Vector3 &position, Quaternion &orientation ) : void

Updates the world transform of the shape using the given position and orientation. The world transform of the shape is offset from the given position and orientation by the collidable's LocalPosition.

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

Метод Описание
CollisionRulesUpdated ( ) : void
EntityCollidable ( ) : BEPUphysics.BroadPhaseEntries.Events
EntityCollidable ( EntityShape shape ) : BEPUphysics.BroadPhaseEntries.Events
OnEntityChanged ( ) : void
UpdateBoundingBoxInternal ( float dt ) : void

Приватные методы

Метод Описание
ExpandBoundingBox ( BEPUutilities.BoundingBox &boundingBox, float dt ) : void

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

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

protected CollisionRulesUpdated ( ) : void
Результат void

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

protected EntityCollidable ( ) : BEPUphysics.BroadPhaseEntries.Events
Результат BEPUphysics.BroadPhaseEntries.Events

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

protected EntityCollidable ( EntityShape shape ) : BEPUphysics.BroadPhaseEntries.Events
shape BEPUphysics.CollisionShapes.EntityShape
Результат BEPUphysics.BroadPhaseEntries.Events

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

protected OnEntityChanged ( ) : void
Результат void

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

Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.
public UpdateBoundingBox ( ) : void
Результат void

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

Updates the bounding box of the mobile collidable according to the associated entity's current state. Do not use this if the EntityCollidable does not have an associated entity; consider using UpdateBoundingBoxForTransform instead.
public UpdateBoundingBox ( float dt ) : void
dt float Timestep with which to update the bounding box.
Результат void

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

Updates the collidable's world transform and bounding box. This is a convenience method for external modification of the collidable's data.
public UpdateBoundingBoxForTransform ( RigidTransform &transform ) : void
transform BEPUutilities.RigidTransform Transform to use for the collidable.
Результат void

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

Updates the collidable's world transform and bounding box. The transform provided will be offset by the collidable's LocalPosition to get the shape transform. This is a convenience method for external modification of the collidable's data.
public UpdateBoundingBoxForTransform ( RigidTransform &transform, float dt ) : void
transform BEPUutilities.RigidTransform Transform to use for the collidable.
dt float Duration of the simulation time step. Used to expand the /// bounding box using the owning entity's velocity. If the collidable /// does not have an owning entity, this must be zero.
Результат void

UpdateBoundingBoxInternal() защищенный абстрактный Метод

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

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

Updates the world transform of the shape using the given position and orientation. The world transform of the shape is offset from the given position and orientation by the collidable's LocalPosition.
public UpdateWorldTransform ( System.Vector3 &position, Quaternion &orientation ) : void
position System.Vector3 Position to use for the calculation.
orientation Quaternion Orientation to use for the calculation.
Результат void

Описание свойств

entity защищенное свойство

protected Entity entity
Результат Entity

events защищенное свойство

protected ContactEventManager events
Результат ContactEventManager

localPosition защищенное свойство

protected Vector3,System localPosition
Результат System.Vector3

worldTransform защищенное свойство

protected RigidTransform,BEPUutilities worldTransform
Результат BEPUutilities.RigidTransform