Bullet Collision Detection & Physics Library
Classes | Macros | Enumerations | Variables
btRigidBody.h File Reference
#include "LinearMath/btAlignedObjectArray.h"
#include "LinearMath/btTransform.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
Include dependency graph for btRigidBody.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  btRigidBody
 The btRigidBody is the main class for rigid body objects. More...
 
struct  btRigidBody::btRigidBodyConstructionInfo
 The btRigidBodyConstructionInfo structure provides information to create a rigid body. More...
 
struct  btRigidBodyFloatData
 do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More...
 
struct  btRigidBodyDoubleData
 do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More...
 

Macros

#define btRigidBodyData   btRigidBodyFloatData
 
#define btRigidBodyDataName   "btRigidBodyFloatData"
 

Enumerations

enum  btRigidBodyFlags {
  BT_DISABLE_WORLD_GRAVITY = 1 ,
  BT_ENABLE_GYROSCOPIC_FORCE_EXPLICIT = 2 ,
  BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_WORLD = 4 ,
  BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_BODY = 8 ,
  BT_ENABLE_GYROPSCOPIC_FORCE = BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_BODY
}
 

Variables

btScalar gDeactivationTime
 
bool gDisableDeactivation
 

Macro Definition Documentation

◆ btRigidBodyData

#define btRigidBodyData   btRigidBodyFloatData

Definition at line 35 of file btRigidBody.h.

◆ btRigidBodyDataName

#define btRigidBodyDataName   "btRigidBodyFloatData"

Definition at line 36 of file btRigidBody.h.

Enumeration Type Documentation

◆ btRigidBodyFlags

Enumerator
BT_DISABLE_WORLD_GRAVITY 
BT_ENABLE_GYROSCOPIC_FORCE_EXPLICIT 

BT_ENABLE_GYROPSCOPIC_FORCE flags is enabled by default in Bullet 2.83 and onwards.

and it BT_ENABLE_GYROPSCOPIC_FORCE becomes equivalent to BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_BODY See Demos/GyroscopicDemo and computeGyroscopicImpulseImplicit

BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_WORLD 
BT_ENABLE_GYROSCOPIC_FORCE_IMPLICIT_BODY 
BT_ENABLE_GYROPSCOPIC_FORCE 

Definition at line 39 of file btRigidBody.h.

Variable Documentation

◆ gDeactivationTime

btScalar gDeactivationTime
extern

Definition at line 25 of file btRigidBody.cpp.

◆ gDisableDeactivation

bool gDisableDeactivation
extern

Definition at line 26 of file btRigidBody.cpp.