Atoms Crowd  7.0.0
Atoms::RigidBodyAttributes Class Reference

Public Types

enum  State { kStatic = 0 , kDynamic = 1 , kKinematic = 2 }
 
enum  Type {
  kPlane = 0 , kSphere , kBox , kCapsule ,
  kConvexMesh , kTriangleMesh , kHeightField
}
 
enum  Axis { kX = 0 , kY , kZ }
 
enum  RotationOrder {
  kXYZ = 0 , kYZX , kZXY , kXZY ,
  kYXZ , kZYX
}
 

Public Member Functions

bool serialise (std::string &outStream) const
 Binary Serialise.
 
bool deserialise (const std::string &inStream)
 Binary Deserialise.
 
bool serialise (AtomsCore::MapMetadata *outStream) const
 Binary Serialise.
 
bool deserialise (const AtomsCore::MapMetadata *inStream)
 Binary Deserialise.
 

Public Attributes

AtomsCore::Vector3f dimension
 
AtomsCore::Vector3f linearVelocity
 
AtomsCore::Vector3f angularVelocity
 
AtomsCore::Vector3f massSpaceInertiaTensor
 
AtomsCore::Matrixf transform
 
AtomsCore::Matrixf shapeOffset
 
AtomsCore::Matrixf cMassLocalPose
 
AtomsCore::Vector3f rotatePivot
 
AtomsCore::Vector3f scalePivot
 
AtomsCore::Vector3f scalePivotTranslate
 
AtomsCore::Vector3f rotatePivotTranslate
 
AtomsCore::Vector3f scale
 
AtomsCore::Vector3f position
 
AtomsCore::Quaternionf rotation
 
AtomsCore::Vector2f stuckOnCollisionBreakForce
 
AtomsCore::Vector2f solverIteratorCount
 
float collisionForceThreshold
 
float maxAngularVelocity
 
float angularDamping
 
float linearDamping
 
float density
 
float sleepThreshold
 
float stabilizationThreshold
 
float wakeCounter
 
float mass
 
float staticFriction
 
float dynamicFriction
 
float restitution
 
float restOffset
 
float contactOffset
 
float contactReportThreshold
 
float stuckOnCollisionImpulse
 
float heightFieldScale
 
int aggregate
 
int collisionPool
 
int dynamicOnCollisionPool
 
int stuckOnCollisionPool
 
int heightFieldRows
 
int heightFieldColumns
 
short state
 
short type
 
short axis
 
short rotationOrder
 
bool active
 
bool useMass
 
bool dynamicOnCollision
 
bool disableCollisionEvent
 
bool stuckOnCollision
 
bool aggregateSelfCollision
 
bool storeImpactData
 
bool deformable
 

Static Public Attributes

static const size_t version
 

The documentation for this class was generated from the following file: