C# Class BulletSharp.DiscreteDynamicsWorld

Inheritance: BulletSharp.DynamicsWorld
ファイルを表示 Open project: Helvest/Unity-Bullet-Physic-Engine-2017 Class Usage Examples

Public Methods

Method Description
ApplyGravity ( ) : void
DebugDrawConstraint ( BulletSharp.TypedConstraint constraint ) : void
DiscreteDynamicsWorld ( BulletSharp.Dispatcher dispatcher, BulletSharp.BroadphaseInterface pairCache, BulletSharp.ConstraintSolver constraintSolver, BulletSharp.CollisionConfiguration collisionConfiguration ) : System
Serialize ( BulletSharp.Serializer serializer ) : void
SetNumTasks ( int numTasks ) : void
SynchronizeSingleMotionState ( BulletSharp.RigidBody body ) : void
UpdateVehicles ( float timeStep ) : void

Private Methods

Method Description
DiscreteDynamicsWorld ( IntPtr native ) : System
SerializeDynamicsWorldInfo ( BulletSharp.Serializer serializer ) : void
SerializeRigidBodies ( BulletSharp.Serializer serializer ) : void
btDiscreteDynamicsWorld_applyGravity ( IntPtr obj ) : void
btDiscreteDynamicsWorld_debugDrawConstraint ( IntPtr obj, IntPtr constraint ) : void
btDiscreteDynamicsWorld_getApplySpeculativeContactRestitution ( IntPtr obj ) : bool
btDiscreteDynamicsWorld_getCollisionWorld ( IntPtr obj ) : IntPtr
btDiscreteDynamicsWorld_getLatencyMotionStateInterpolation ( IntPtr obj ) : bool
btDiscreteDynamicsWorld_getSimulationIslandManager ( IntPtr obj ) : IntPtr
btDiscreteDynamicsWorld_getSynchronizeAllMotionStates ( IntPtr obj ) : bool
btDiscreteDynamicsWorld_new ( IntPtr dispatcher, IntPtr pairCache, IntPtr constraintSolver, IntPtr collisionConfiguration ) : IntPtr
btDiscreteDynamicsWorld_setApplySpeculativeContactRestitution ( IntPtr obj, bool enable ) : void
btDiscreteDynamicsWorld_setLatencyMotionStateInterpolation ( IntPtr obj, bool latencyInterpolation ) : void
btDiscreteDynamicsWorld_setNumTasks ( IntPtr obj, int numTasks ) : void
btDiscreteDynamicsWorld_setSynchronizeAllMotionStates ( IntPtr obj, bool synchronizeAll ) : void
btDiscreteDynamicsWorld_synchronizeSingleMotionState ( IntPtr obj, IntPtr body ) : void
btDiscreteDynamicsWorld_updateVehicles ( IntPtr obj, float timeStep ) : void

Method Details

ApplyGravity() public method

public ApplyGravity ( ) : void
return void

DebugDrawConstraint() public method

public DebugDrawConstraint ( BulletSharp.TypedConstraint constraint ) : void
constraint BulletSharp.TypedConstraint
return void

DiscreteDynamicsWorld() public method

public DiscreteDynamicsWorld ( BulletSharp.Dispatcher dispatcher, BulletSharp.BroadphaseInterface pairCache, BulletSharp.ConstraintSolver constraintSolver, BulletSharp.CollisionConfiguration collisionConfiguration ) : System
dispatcher BulletSharp.Dispatcher
pairCache BulletSharp.BroadphaseInterface
constraintSolver BulletSharp.ConstraintSolver
collisionConfiguration BulletSharp.CollisionConfiguration
return System

Serialize() public method

public Serialize ( BulletSharp.Serializer serializer ) : void
serializer BulletSharp.Serializer
return void

SetNumTasks() public method

public SetNumTasks ( int numTasks ) : void
numTasks int
return void

SynchronizeSingleMotionState() public method

public SynchronizeSingleMotionState ( BulletSharp.RigidBody body ) : void
body BulletSharp.RigidBody
return void

UpdateVehicles() public method

public UpdateVehicles ( float timeStep ) : void
timeStep float
return void