Class BulletGhostBody3D
The BulletGhostBody3D implements Bullet ghost object for Evergine.
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public sealed class BulletGhostBody3D : BulletPhysicBody3D, IGhostBody3D, IPhysicBody3D, IDisposable
Constructors
BulletGhostBody3D(BulletPhysicManager3D, GhostBodyDef3D)
Initializes a new instance of the Bullet
Declaration
public BulletGhostBody3D(BulletPhysicManager3D simulation3D, GhostBodyDef3D bodyDef)
Parameters
Type | Name | Description |
---|---|---|
Bullet |
simulation3D | The bullet world. |
Ghost |
bodyDef | The definition of static body. |
Methods
InstantiateCollisionObject(PhysicBodyDef3D)
Create the rigid body.
Declaration
protected override void InstantiateCollisionObject(PhysicBodyDef3D bodyDef)
Parameters
Type | Name | Description |
---|---|---|
Physic |
bodyDef | The body definition. |