Making a player rotate with a part

Ok so ima put this in the context of an obby to try and explain this easier:

so I have a flat circle (cylinder) which rotates via tweening, however on that circle there are obstacles which do not move, I need a way for the player to rotate with the part pushing them towards the obsticals

image https://cdn.discordapp.com/attachments/566326893024903271/610977194587717653/unknown.png

Above is my example scenario, the red blocks kill the player and the player has to get from one side to the other.

1 Like

Iā€™m pretty sure @EgoMoose had a script/module to do this.

You can use vector from player to center of circle
cross it with 0,1,0 to get the right direction
Then use that to make movers/forces as you like.

This method of finding normals is shown in the Finding a LookAt Vector section.

2 Likes