Archived

This topic is now archived and is closed to further replies.

3d reflection

This topic is 5401 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, thisis should be real easy to do, but for some reason I cant ge t it to work and its driving me mad! i want to work out the angle of reflection of a ball hitting a flat surface, not taking into account gravity etc.. i have so far tried this, but it doesnt work :0( newDir = oldDir - (planeNorm * (oldDir.dot(planeNorm))*2); anyone offer any help?

Share this post


Link to post
Share on other sites