BEPUphysics.Entities.Entity.Entity C# (CSharp) Method

Entity() public method

Constructs a new dynamic entity.
public Entity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor ) : System
shape BEPUphysics.CollisionShapes.EntityShape Shape to use with the entity.
mass float Mass of the entity.
inertiaTensor BEPUutilities.Matrix3x3 Inertia tensor of the entity.
return System
        public Entity(EntityShape shape, float mass, Matrix3x3 inertiaTensor)
            : this()
        {
            Initialize(shape.GetCollidableInstance(), mass, inertiaTensor);
        }

Same methods

Entity::Entity ( ) : System
Entity::Entity ( EntityCollidable collisionInformation ) : System
Entity::Entity ( EntityCollidable collisionInformation, float mass ) : System
Entity::Entity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor ) : System
Entity::Entity ( EntityCollidable collisionInformation, float mass, Matrix3x3 inertiaTensor, float volume ) : System
Entity::Entity ( EntityShape shape ) : System
Entity::Entity ( EntityShape shape, float mass ) : System
Entity::Entity ( EntityShape shape, float mass, Matrix3x3 inertiaTensor, float volume ) : System