How do I pinn only on one axis

Get help using Construct 2

Post » Thu Jun 23, 2016 1:51 pm

a tricky question. this is what I would need: Imagine a verical thin square and a circle in the center of it. If I use arrows the circle can move only up down, the square only reft right. But I would like that the circle is somehow pinned on the vertical axis of the square...how would u do that ?
B
37
S
16
G
2
Posts: 447
Reputation: 4,860

Post » Thu Jun 23, 2016 8:35 pm

Simple for the square movement by make it moving in x-axis. For other, set circle.X same to square.X, then create individual controller for moving in y direction but don't forget to limit the movement.

Image
ImageImage
B
102
S
46
G
22
Posts: 772
Reputation: 21,593

Post » Fri Jun 24, 2016 5:42 am

thanks super helpful and kind:)
B
37
S
16
G
2
Posts: 447
Reputation: 4,860


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests