directionSign in btGhostObject example

STTrife
Posts: 109
Joined: Tue May 01, 2012 10:42 am

directionSign in btGhostObject example

Post by STTrife »

Hello,

I noticed there is a btScalar directionSign in the example, which is -1 or 1, depending on which of the objects in the pair is the ghostobject...
however... this variable is not used after that.

why is it there, what am I supposed to do with it?

thanks!

p.s. referring to the btGhostOject example on the wiki http://bulletphysics.org/mediawiki-1.5. ... d_Triggers