Difference between revisions of "NewtonCollisionGetUserID"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonCollisionGetUserID
Syntax:
unsigned NewtonCollisionGetUserID (const NewtonCollision* convexCollision);
Usage
Returns a user defined value asociated with a collision primitive.
Parameters
- const NewtonCollision convexCollision - is the pointer to a convex collision primitive.
Return
- user id
Description
The application can store an id with any collision primitive. This id can be used to identify what type of collision primitive generated a contact.
See also
NewtonMaterialGetBodyCollisionID NewtonCollisionSetUserID NewtonCreateBox NewtonCreateSphere