# How to make my actor stay on a spinning wheel?

Member Posts: 15

How to make my actor stay on a spinning wheel like this http://games.uf3.com/cdn/279/22/606gamezat-games.jpg

• London, UK.Member Posts: 12,822

Constrain the actor's X position to

Radius of the wheel * cos (wheel rotation) + x position of the wheel

Constrain the actor's Y position to

Radius of the wheel * sin (wheel rotation) + y position of the wheel

• Member Posts: 15

I don't really get what u mean

• London, UK.Member Posts: 12,822

@EmrikAhl said:
I don't really get what u mean

Ok.

• Member Posts: 15

Can you please try to explain again? but a little bit more so I understand, sorry im pretty new using gamesalad.

• London, UK.Member Posts: 12,822

@EmrikAhl said:
Can you please try to explain again? but a little bit more so I understand, sorry im pretty new using gamesalad.

Can you say which part you don't understand ?

• Member Posts: 15

Constrain the actor's X position to

that part

• London, UK.Member Posts: 12,822
edited May 2015

@EmrikAhl said:
Constrain the actor's X position to

that part

The radius of the wheel simply means the distance from the centre of the wheel to the edge (half the width of the actor).

• Member Posts: 15

I know what the radius is, but how do I Constrain the actor's X

• London, UK.Member Posts: 12,822

@EmrikAhl said:
I know what the radius is, but how do I Constrain the actor's X

You use a Constrain behaviour.