[Solved] How do make an object rotate around a fixed point

I plan to make a record player level for my game but I can’t figure out how to use physics 2 correctly. Can someone explain how i can rotate the playhead around a point so i can drag it over the record?

No need to use Physics 2 for this.

Move the centre of the sprite to where you want the arm to rotate. Make the collision box only on the head. Then, while the LMB is down and on the sprite, rotate the playing arm towards the mouse position.

image


Remember that GDevelop treats 0 degrees as directly to the right, so your record playing arm image (i.e. the file that is the source of the sprite image) will need to be horizontal and look like :

image

2 Likes