Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#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