[ODE] User Data Question
Aras Pranckevicius
nearaz at interamotion.com
Mon Sep 8 23:28:01 2003
> Here's my question: can the data set using the
> aforementioned function be used for anything? I
> suppose I'm wondering whether or not the data is
> used by ODE, or whether it's simply a storage
> space for a piece of data to be stored in the
> specified body.
Yes, it's completely "user data" :)
And, yes, it's very handy in places. Eg. I used it to store "entity" pointer
in bodies/geoms - so upon collision or something else, you can subtract
health, pick up things and whatnot.
Aras Pranckevicius aka NeARAZ
http://www.gim.ktu.lt/nesnausk/nearaz/