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

void TA::DynamicObject::SetUserGroupItemId (
int   nUserGroupItemId  )
 

Call this function to specify a user group item ID. The function TA::DynamicObject::DisallowCollisionWithUserGroupItemId can be used to control whether objects in the same group can collide with each other based on their user group item ID. It is OK for multiple objects to have the same ID.

TA::Physics::SetDynamicVsDynamicCollisionTestCallBack provides a alternative and more flexible method for disallowing collisions.

See also:
TA::DynamicObject::CreateUserGroup, TA::DynamicObject::IsAllowedToCollideWith, TA::DynamicObject::SetUserGroup, TA::DynamicObject::GetUserGroup, TA::DynamicObject::GetUserGroupItemId, TA::DynamicObject::DisallowCollisionWithUserGroupItemId and TA::DynamicObject::AllowCollisionWithUserGroupItemId.
Parameters:
nUserGroupItemId
The new user group item identifier. Must between 0 and 31 inclusive.



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