Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTom KQT

Posted 23 October 2012 - 01:56 AM

Hard to tell anything specific without code, but are you properly transforming the ray? D3DXIntersect works in the local space of the mesh so you have to transform the ray starting point and direction into this space.

EDIT: Ouch, am I blind and missed the sentence where you were talking about the ray space or did you add it later?

#1Tom KQT

Posted 23 October 2012 - 01:39 AM

Hard to tell anything specific without code, but are you properly transforming the ray? D3DXIntersect works in the local space of the mesh so you have to transform the ray starting point and direction into this space.

PARTNERS