- Home /
I'm trying to make a bike minigame, and I can't make the pedal
I'm trying to make a minigame that the player needs to click on the pedal and move it, then the bike would move. The problem I have two objects, the pedal itself and the center and i need to move the pedal in a way that the center also rotates, like they were connected. How to move the pedal and also rotate the center in a way that they seem connected?
I would put and empty object at the point I want to rotate the pedal around then make the pedal a child of that object and offset it so when I rotate the empty peg the pedal will rotate around that point as I desire.
I would say, look in the documentation of the Hinge Joint.
Answer by Amicus1 · May 18, 2017 at 07:27 PM
I would say, look in the documentation of the Hinge Joint.
Your answer
Follow this Question
Related Questions
How do i flip my character and its objects and not just the sprite 2 Answers
Distribute terrain in zones 3 Answers
Sprite "face" second sprite only on Z axis 2 Answers
Multiple Cars not working 1 Answer
Saving Rotation of Sprite 1 Answer