Shakey Actors

I have the following code which is setting up the collisions in my project:

    def setCollisions(self):
        self.pusher = CollisionHandlerPusher() 
        base.cTrav = CollisionTraverser() 
        self.cNode1 = CollisionNode('cplayer1') 
        self.cNode1.addSolid(CollisionSphere(0, 0, 0, 0.3)) 
        self.player1C = self.player1.attachNewNode(self.cNode1)
        self.cNode2 = CollisionNode('cplayer2') 
        self.cNode2.addSolid(CollisionSphere(0, 0, 0, 0.3)) 
        self.player2C = self.player2.attachNewNode(self.cNode2)

What I wanted to do, was to make player1 push player2 and viceversa!

The problem is that every time player1 pushes player2, or viceversa, I’m getting a really unnatural shake out of the 2 actors, almost as if they were vibrating. I would really want to get rid of it.


You don’t need to worry anymore!!! I solved this by myself :stuck_out_tongue:

It might be useful for other ones to post the solution you found.

Well, I would, but it has nothing to do with the function I posted earlier… there was a faulty commad in my setCamera() function.