TraceScreenRay sky hit test failing with onlyCoords = true

TraceScreenRay sky hit test failing with onlyCoords = true

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
bilhamil
Posts: 16
Joined: 12 Apr 2011, 10:00

TraceScreenRay sky hit test failing with onlyCoords = true

Post by bilhamil »

When calling Spring.TraceScreenRay(x,y, true, false, true) I always get 'ground' for the first returned value, regardless if the ray hits ground or sky. This didn't use to be the case. I think https://github.com/spring/spring/commit ... 355f65a495 may have broken the returning of 'sky' when onlyCoords is set true.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: TraceScreenRay sky hit test failing with onlyCoords = true

Post by Beherith »

Thanks for testing, and providing a concise report. Could I ask you to please report the bug on our Mantis bug tracker (link in top bar) so that the devs can see it and handle it better?

Cheers!
Post Reply

Return to “Help & Bugs”