For some reason, when using the collision sphere, any collisions on the top or bottom are causing my model to come to a complete stop. If I turn, the sphere rotates to a side and starts moving.
Here is a link to a screen capture. It will probably illustrate the issue better. I have no idea why this is happening… I tried setFluidPos just for the heck of it, but the same thing happened.
http://FileHost.JustFreeSpace.Com/120CollisionProblem.avi
Also I should note that collisions on the side or front of the sphere slide as expected. It’s just when the top or bottom of the collider are hit.
playerCollNode = CollisionNode('FrontCollider')
playerCollNode.addSolid(CollisionSphere( 0.0,-1.5, 0.3, 1.1))
playerColl = player.attachNewNode(playerCollNode)
playerColl.show()
playerColl.setCollideMask(BitMask32.bit(1))
#initialize traverser
base.cTrav = CollisionTraverser()
#initialize pusher
pusher = CollisionHandlerPusher()
base.cTrav.addCollider(playerColl,pusher)
pusher.addCollider(playerColl,player, base.drive.node())