i have a flag which is set to true when I detect the object is on ground.
i need to set it back to false before the next stepSimulation(),
I could keep a copy of all the object pointer in an array and loop it to clear the flag,
but I am wondering if i could just get the array from dynamicworld.
OR
are there any better way of flagging collision result?
need ideas to 'deflag' my collision object after each tick.
-
- Posts: 43
- Joined: Fri Jun 15, 2012 7:11 am