added want-fluid-pusher

This commit is contained in:
Darren Ranalli 2007-09-14 00:55:03 +00:00
parent 059a2000a2
commit a915788f83
1 changed files with 4 additions and 1 deletions

View File

@ -215,7 +215,10 @@ class GravityWalker(DirectObject.DirectObject):
cSphereNode.setIntoCollideMask(BitMask32.allOff())
# set up collision mechanism
handler = CollisionHandlerPusher()
if config.GetBool('want-fluid-pusher', 0):
handler = CollisionHandlerFluidPusher()
else:
handler = CollisionHandlerPusher()
#handler.setInPattern("pusher_enter%in")
#handler.setOutPattern("pusher_exit%in")