ScummVM API documentation
dgContactMaterial Class Reference
Inheritance diagram for dgContactMaterial:
dgContactPoint

Public Types

enum  {
  m_collisionEnable__ = 1 << 0, m_friction0Enable__ = 1 << 1, m_friction1Enable__ = 1 << 2, m_override0Accel__ = 1 << 3,
  m_override1Accel__ = 1 << 4, m_overrideNormalAccel__ = 1 << 5, m_collisionContinueCollisionEnable__ = 1 << 6
}
 

Public Member Functions

void * GetUserData () const
 
void SetUserData (void *const userData)
 
void SetCollisionCallback (OnAABBOverlap abbOvelap, OnContactCallback callback)
 
void SetCompoundCollisionCallback (OnAABBOverlap abbOvelap)
 

Public Attributes

dgVector m_dir0
 
dgVector m_dir1
 
dgFloat32 m_normal_Force
 
dgFloat32 m_dir0_Force
 
dgFloat32 m_dir1_Force
 
dgFloat32 m_softness
 
dgFloat32 m_restitution
 
dgFloat32 m_staticFriction0
 
dgFloat32 m_staticFriction1
 
dgFloat32 m_dynamicFriction0
 
dgFloat32 m_dynamicFriction1
 
dgFloat32 m_penetrationPadding
 
dgInt32 m_flags
 
- Public Attributes inherited from dgContactPoint
dgVector m_point
 
dgVector m_normal
 
dgBodym_body0
 
dgBodym_body1
 
dgCollisionm_collision0
 
dgCollisionm_collision1
 
dgInt64 m_userId
 
dgFloat32 m_penetration
 
dgInt32 m_isEdgeContact
 

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