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 BulletGhostBody3D class.
Declaration
public BulletGhostBody3D(BulletPhysicManager3D simulation3D, GhostBodyDef3D bodyDef)
Parameters
Type | Name | Description |
---|---|---|
BulletPhysicManager3D | simulation3D | The bullet world. |
GhostBodyDef3D | bodyDef | The definition of static body. |
Methods
InstantiateCollisionObject(PhysicBodyDef3D)
Create the rigid body.
Declaration
protected override void InstantiateCollisionObject(PhysicBodyDef3D bodyDef)
Parameters
Type | Name | Description |
---|---|---|
PhysicBodyDef3D | bodyDef | The body definition. |