Line of Sight for objects behind?

Get help using Construct 2

Post » Mon Aug 12, 2013 5:50 pm

Greetings! I did some searching but did not find anything in past topics on this.

Is there a way to use the LOS behavior to detect things *behind* a sprite? For example if my sprite is moving to the right, could I have the cone of view facing the left?

My backup plan is to pin an invisible sprite with LOS to the main one and always set its angle to be the opposite of the main sprite, then just use that for my LOS checks, but if there's a way to do it with just the LOS behavior I'd like to do that.

Thanks!
B
11
S
2
Posts: 87
Reputation: 1,112

Post » Mon Aug 12, 2013 9:35 pm

http://db.tt/WayjiwfF
Well if anything I can confirm the backup plan is working
B
9
S
2
G
2
Posts: 59
Reputation: 1,024

Post » Mon Aug 12, 2013 10:04 pm

Looks like that's the way to go for now, thanks :)
B
11
S
2
Posts: 87
Reputation: 1,112


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 50 guests