pin image point 0 to 1 object and image point 2 to another

Get help using Construct 2

Post » Sat Mar 12, 2016 7:18 pm

Ok heres what im tring to do. When my level starts im creating poles at random distances from each other. After 2 poles are created i create a line with 2 image points. is it possible to pin image point 0 to one pole and image point 1 to the other pole and thus increase the length of the line i just created to span from 1 pole to the next???

Image
B
9
S
3
Posts: 58
Reputation: 805

Post » Sat Mar 12, 2016 7:55 pm

Ok I figured out a way to do this..
when my line is created I set the position to the first pole and pin it there. Then i set the width to the distance between (pole1.X,pole1.Y,pole2.X,pole2.Y) then i just rotate the line to pole2..

I figured that out on my own I must be getting better at understanding this engine :)
B
9
S
3
Posts: 58
Reputation: 805


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Lancifer, plinkie and 28 guests