Linepick with rotating entities?
Blitz3D Forums/Blitz3D Programming/Linepick with rotating entities?| 
 | ||
| Hi, I need a little code example help here please. I have a 3d spaceship that I am viewing from above and I can rotate it (on a single axis)left and right (like the ship from asteroids) and that works great. I am now wondering how to do a linepick from the front of the object out to say 50 units no matter how the ship is rotated to check for objects in its direct path. Thanks! | 
| 
 | ||
| This will work ... tformvector 0,0,50,myship, 0 Picked = linepick entityx( ship ) , entityy( ship ) , entityz( ship ) , tformedx(), tformedy(), tformedz() Stevie | 
| 
 | ||
| Wonderful! That works great! Thanks so much for your help. |