Line between two actors
IsabelleK
Member, Sous Chef Posts: 2,807
Hi guys!
I have little problem with logic in my new game:
I have two moveable actors. They can be moved anywhere on the screen. Between them I have third actor (line) it should change its position, rotation, and width, to be always connecting those two moveable actors. It works like dog leash.
I'm sure I should make rules with VectorToAngle expression, but can't get it work. Could you help me with this?
Thank you!
I have little problem with logic in my new game:
I have two moveable actors. They can be moved anywhere on the screen. Between them I have third actor (line) it should change its position, rotation, and width, to be always connecting those two moveable actors. It works like dog leash.
I'm sure I should make rules with VectorToAngle expression, but can't get it work. Could you help me with this?
Thank you!
Best Answer
-
Manto Posts: 796I made a small template for you.
Edit: Looks like the file disappeared. Here's a new link: http://mantuapps.com/gs/lba.zip
Answers