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

Dynamic Collision Detection

This topic is 6362 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

I have a direct3d program that loads a bunch of models and displays them in a world which the user can walk around in. I have implemented sphere-plane collision detection for all the objects, but there is a problem. All the vertices are stored with the local origon for each object, so if an object is rotating, they aren''t effected. But when I do the collision testing I always test the local coordinates. Is the only way to test the rotated coordinates by transforming them all myself? That would be computationally expensive, and stupid because they are going to be transformed again? Or I was thinking some way of maybe rotating the collision planes by the amount of rotation the object has. Would that work? *** Triality ***

Share this post

Link to post
Share on other sites