True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

enum TA::Collision::Flag
 

These flags provide extra control over collisions. Some flags are for internal use, however some might be helpful to the user, these are described here.

Enumerator:
FLAG_FRICTION
This flag specifies a collision generated to apply a frictional force. Sometimes some of the solvers used by true axis may add extra collisions to handle friction. In this case, this flag will be set.
FLAG_NO_FRICTION
When set, this flag disables friction for this collision.
FLAG_JOINT
This flag is set when a collision is generated to implement a joint between 2 objects. Joints are constrained internally in True Axis by adding multiply collisions. These other collisions can be retrieved with the GetNext() Function. See TA::Collision::GetNext, TA::PreCollision::GetNext and TA::PostCollision::GetNext.
FLAG_JOINT_LIMIT
This flag is set for collisions generated to enforce limits set for a joint.
FLAG_COLLISION_OCCURRED
Same as TA::Collision::CollisionOccurred
FLAG_ROTATION_CONSTRAINT
If set, specifies that this collision will only affect angular velocity of the objects involved but not linear velocity.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.