How to make a rotating part actually move the player

  1. What do you want to achieve? Keep it simple and clear!
    I want to make the player move on the platform that he’s standing on (rotatating platform)

  2. What is the issue? Include screenshots / videos if possible!
    The platform moves but not the player.

  3. What solutions have you tried so far?
    I tried checking in the developper hub but idk if im on the right part.

This is my basic code (It works but doesn’t move the player):

while true do

task.wait() 
		
		mainCircle.CFrame = mainCircle.CFrame * CFrame.Angles(math.rad(SPINNING_GOAL_VECTOR3), 0, 0)
end

use a hinge constraint instead of incrementing cframes.

create a base part that you want to attach your rotating part to.
go to the model tab, under the constraints menu select the drop down and click hinge.

image

place the first attachment on the middle top of the base part, and the second attachment on the middle bottom of the part you want to rotate.

align the objects together so that the attachments are perfectly alligned.

select the newly created hinge constraint, and search for a property called ActuatorType, and set it to Motor.

a new properties tab should open up when you change it to a motor. In this menu, you can change the angularvelocity to match with whatever speed you want.

image

if the rotational axis are not properly aligned, you can mess around with the attachment orientations until they are properly alligned (there is a little menu if you click on the hinge constraint, this will display a warning.)

1 Like

Hello, first of all, thank you for your help.

But with everything you’ve told me it still doesn’t work
image

I’ve a part inside with the hinge and it’s set to motor. I just have no idea how to make it move now.

There is a guide at Building a Ferris Wheel | Documentation - Roblox Creator Hub.

i told you to align the attachments, otherwise it wont work. you need to center both of the attachments and then place them together, otherwise the hinge will fail.

Still doesn’t work (check the video below, I might not get something).

Sorry if the late answer I was busy.

you need to align the part you want to spin (in this case the gray part) with the yellow part.

the attachments should look like this.

you then need to place the two on top of each other so they are aligned like this.

your attachments are completely mispositioned.
if you do what i showed you, it will work.

the torque is also way too low.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.