|
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. |
|