[R137]LineOfSight.ConeOfView not working

Bugs will be moved here once resolved.

Post » Fri Jul 05, 2013 10:40 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/6813637/coneofview.capx

Steps to reproduce:
1. Try to set a sprite or a text to Player.LineOfSight.ConeOfView


Observed result:
It doesnt work and is stuck at 120 here.

Expected result:

The sprite LOS_Cone should be rotating in the same angle as the line of sight.

Browsers affected:
Chrome: yes
Firefox: dont know
Internet Explorer: yes

Operating system & service pack:
windows 8.1 preview

Construct 2 version:
R137 64 bits
B
38
S
8
G
3
Posts: 439
Reputation: 6,876

Post » Sat Jul 06, 2013 2:52 pm

Closing, the project is working correctly, your expected result is incorrect. Why should it rotate?
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,782

Post » Sat Jul 06, 2013 3:46 pm

Oh, sorry, I tought the ConeOfView was the rotation of the coneofview, but is actually the maximum degrees in the cone the object can see.

Any chance of there being a more visual way of seeing the los cone in the editor/runtime? Right now its too much a guessing work.



B
38
S
8
G
3
Posts: 439
Reputation: 6,876


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 12 guests