In Roaming Ralph (again), I want a ball attach to a model ralph.
the code look like below
self.ball = loader.loadModel(MYDIR+"/models/ball") self.ball.reparentTo(self.ralph)
And when I rotate the ralph , my ball rotated around the ralph.
Is it possible to attach my ball to the ralph just a position?
Example, when I move the ralph forward ,the ball is following the ralph normally.
But when I rotate the ralph ,I don’t want the ball rotate around.
( And scaling is in the same case )
any idea? thank you.