Tagged Questions
2
votes
1answer
293 views
How to calculate collision normal between two AxisAlignedBox's?
I'm writing a physics simulation in Ogre3D and I'm trying to figure out how to calculate the collision normal between two Ogre::AxisAlignedBox's.
I am checking for collisions using the "intersects" ...
0
votes
2answers
487 views
Ways to define a curve
I'm trying to give shapes in my physics engine roundness/ curvature.
I am aware of various methods for mathematically defining curves; such as bezier-cruves, ellipses, etc. However I am not sure ...
0
votes
1answer
216 views
How do I rotate a segment + normal so that the normal is (0,-1) and the segment is now axis aligned
I have an arbitrary line segment, which may or may not be axis aligned along with its normal
eg: Segment(Coord(-1,-1), Coord(1,1), Coord(-1, 1).normalize) which represents a line segment with a 45 ...