Class BulletStaticBody3D
The BulletCollisionObject3D implements Bullet collision object for Evergine.
Inherited Members
DisposableObject.Disposed
DisposableObject.Dispose()
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public sealed class BulletStaticBody3D : BulletPhysicBody3D, IStaticBody3D, IPhysicBody3D, IDisposable
Constructors
BulletStaticBody3D(BulletPhysicManager3D, StaticBodyDef3D)
Initializes a new instance of the BulletStaticBody3D class.
Declaration
public BulletStaticBody3D(BulletPhysicManager3D simulation3D, StaticBodyDef3D bodyDef)
Parameters
Type | Name | Description |
---|---|---|
BulletPhysicManager3D | simulation3D | The bullet world. |
StaticBodyDef3D | 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. |
Overrides
Implements
Evergine.Framework.Physics3D.IStaticBody3D
Evergine.Framework.Physics3D.IPhysicBody3D