# How to create Circular movement like this?

Get help using Construct 2

### » Mon Jul 13, 2015 9:08 pm

Hello

Im trying to create circular movement like this:

So, that the horizontal lines would rotate around the circe but would always stay horizontal. Would work like an "elevator" for the player.
No need for the inside circle at all, it would be maybe better without it, just for better understanding ...

Thank you

R.
B
7
S
2
G
4
Posts: 16
Reputation: 1,212

### » Mon Jul 13, 2015 9:58 pm

What you might do is have a "master sprite" that is invisible, has the Rotate behaviour, and is at the position of the circle on your diagram. Then give the rotating platforms the Pin behaviour, and make them pin to the master sprite at the start of the layout (pin mode would be Position Only).
B
19
S
3
G
1
Posts: 29
Reputation: 1,038

### » Mon Jul 13, 2015 10:11 pm

One way

http://www.sizzle-games.com/cirplat.capx

revised: 2 events now instead of 5
Super Soccer Skills\Bushy Ball\Sticky Web\Snake

During the gold rush it was a good time to be in the pick and shovel business
B
60
S
20
G
3
Posts: 284
Reputation: 7,982

### » Mon Jul 13, 2015 11:40 pm

Alternatively, using math. You could also have platforms move in an oval this way. You can also set timeAngle however you want, such as an incrementing/decrementing value.
Moderator
B
115
S
41
G
20
Posts: 1,586
Reputation: 19,196

### » Mon Jul 13, 2015 11:50 pm

You can also achieve this kind of movement really easily using the sine behavior (). If you set the movement periods to the same amount and then offset the vertical movement's period by 1/4 of the period, you get very smooth, predictable circular motion with minimal effort.
B
4
Posts: 6
Reputation: 212

### » Tue Jul 14, 2015 9:27 am

Yes exactly what I needed,

thank you very much

R
B
7
S
2
G
4
Posts: 16
Reputation: 1,212