Collision point when jumping from orbit to orbit
Hello
My problem is this:
I am working with the template tshitbooth orbit, and I managed to jump from one orbit to another but when collides appears where you want and not at the point of collision and can not find the solution
This is the code that is written:
100 * cos (-200% self.Time * 360) + game.sunX
100 * sin (-200% self.Time * 360) + game.sunY
vectorToAngle (game.sunX - self.Position.X, game.sunY - self.Position.Y)
I'm from Spain and I use google translator. sorry for the translation.
Regards and thanks
My problem is this:
I am working with the template tshitbooth orbit, and I managed to jump from one orbit to another but when collides appears where you want and not at the point of collision and can not find the solution
This is the code that is written:
100 * cos (-200% self.Time * 360) + game.sunX
100 * sin (-200% self.Time * 360) + game.sunY
vectorToAngle (game.sunX - self.Position.X, game.sunY - self.Position.Y)
I'm from Spain and I use google translator. sorry for the translation.
Regards and thanks
Comments
Greetings and thanks