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

void TA::DynamicObject::SetUserGroup (
int   nUserGroupId  ) [inline]
 

Call this function to specify a user group for the dynamic object. 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. The function TA::DynamicObject::CreateUserGroup can be used to create a new user group ID.

See also:
TA::DynamicObject::CreateUserGroup, TA::DynamicObject::GetUserGroup, TA::DynamicObject::IsAllowedToCollideWith, TA::DynamicObject::SetUserGroupItemId, TA::DynamicObject::GetUserGroupItemId, TA::DynamicObject::DisallowCollisionWithUserGroupItemId and TA::DynamicObject::AllowCollisionWithUserGroupItemId.
Parameters:
nUserGroupId
The new user group identifier.



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