Page 1 of 1

Ray casting

Posted: Thu Sep 30, 2010 10:56 am
by sebbn
Hey :)
i have some problems.. Im trying to cast a ray from my camera and if its intersecting any entities remove them... But i cant get the ray thing working, im using a list that i filled with entities.

~sebbn

Re: Ray casting

Posted: Thu Sep 30, 2010 3:22 pm
by Norbo
The raycast will put entities that it intersects into the list. It shouldn't be given lists that are already full of elements; it will test against objects the space (or container or whatever is being raycasted).

Re: Ray casting

Posted: Fri Oct 01, 2010 10:35 pm
by sebbn
aha :)