Same position to an object with angle

I tried to bind the wheels to the platform in two different ways, but as soon as the angle of object1 changes, they leave their position… on two different ways, both are unwanted. Setting the same angle to the wheels doesn’t help.
I’ve had the problem several times … e.g. if I want to put the player on the platform, it will lose the correct XY relation to the platform (top-left corner or custom point) as soon as the platform goes up or down a mountain.
Can I fix it without using physics joints?
https://streamable.com/de5mpz

1 Like

Isn’t this related to the hitbox issue on rotated sprites with custom center points?
The wheels seem to act as if the platform didn’t rotate.
Better use Physics.

1 Like

I’ve tried a lot with physics but it doesn’t work.
I’ll probably have to do it with graphics animation.

It works fine for me with and without custom center point. This is all I do:

Unbenannt

I also tested it with adding a force on both axis and it still works. So I think there is a problem with your points.

But alternativly you could probably calculate the wheels position with simple trigonometry.

1 Like

Oh thanks!
Looks like just wheel default origin point was the problem.

1 Like