added want-fluid-pusher
This commit is contained in:
parent
059a2000a2
commit
a915788f83
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue