DirectX 9 D3DXIntersect with first person camera

Anddos 103 Oct 23, 2012 at 04:29

I have a first person camera setup and working fine, i am shooting a ray from the camera pos and the direction the camera is facing, when the app first starts the intersect works fine , but when i move around the object to the otherside the is no intersect anymore, why can i only intersect the pologons head on and not all around?

heres a pic to show what i mean , the space the ray is in is object space inverse of (world*view)

thanks if you can help

1 Reply

Please log in or register to post a reply.

rouncer 104 Oct 23, 2012 at 05:57

that could be anything, post some code for me to look at.