|Topic was automatically imported from the old Question2Answer platform.
Hi, I am right now attempting to implement a circular moving platform in a top-down 2D game, and I’m having a lot of trouble getting the rotation correct. Obviously, because it’s top-down, the KinematicBody2D can’t just stand on the rotating platform, it has to have the same rotation speed around the same center applied to it as the platform, but with a different position.
I’ve used the simplest solution for the rotation of the platform itself, basically just this.
For the life of me, though, I can’t figure out the KinematicBody2D rotation. I’ve tried reparenting it to the Pivot node, but the center is not correct. I’ve tried using this solution, with the angle as 90, but the platform began flickering in and out of existence. I clearly am not thinking about this correctly. I know this has to have a simpler solution, I just can’t figure it out. I can’t just reposition the player to the platform because they have to be able to move as well.
Any help would be greatly appreciated! Thanks
Don’t uderstand your problem. Do you have an image?
I’ve tried reparenting it to the Pivot node, but the center is not correct.
What does it mean?
sash-rc | 2021-08-31 13:19