shaking camera problems
dagsen
Member, PRO Posts: 27
in Tech Support
hi i have a problem. I hope you can help me
First i make 2 actors. Then i make 2 attributes in the scene to actor 1's X and Y.
then i go into actor 2 and make 2 constrain attributes:
self.position.X = actor 2's X + 200 * cos(vectorToAngle( self.Position.X - actor 2's X , self.Position.Y - actor 2's Y )) self.position.Y = actor 2's Y + 200 * cos(vectorToAngle( self.Position.X - actor 2's X , self.Position.Y - actor 2's Y ))
so now is Actor 2 always 200 pixels away from actor 1
Then i take some gravity on Actor 2 so its starts to fall to the bottom of the "circle"
that is working fine BUT
when i make the scene bigger and let the camera follow actor 2 and make the camera mode as little as possible
then the camera starts shaking/ jumping and it looks weird.
hope you understand what i mean - sorry for my bad english
First i make 2 actors. Then i make 2 attributes in the scene to actor 1's X and Y.
then i go into actor 2 and make 2 constrain attributes:
self.position.X = actor 2's X + 200 * cos(vectorToAngle( self.Position.X - actor 2's X , self.Position.Y - actor 2's Y )) self.position.Y = actor 2's Y + 200 * cos(vectorToAngle( self.Position.X - actor 2's X , self.Position.Y - actor 2's Y ))
so now is Actor 2 always 200 pixels away from actor 1
Then i take some gravity on Actor 2 so its starts to fall to the bottom of the "circle"
that is working fine BUT
when i make the scene bigger and let the camera follow actor 2 and make the camera mode as little as possible
then the camera starts shaking/ jumping and it looks weird.
hope you understand what i mean - sorry for my bad english