Physics again...*sigh*
/
0 Comments
The last few weeks all development time has been spent in the pursuit of writing a simple physics engine that uses sprites. I'm taking this approach because we found that Farseer and other 2D physics engines will not accomplish what we need. there are certen limitations in their "joints" systems that prevent them from being useful in this application.
By way of explanation: Farseer was working great until I got to the point where we wanted to use a "weld joint" (the Farseer rigid joint) to attach two bodies for constrained rotation. It seems that this joint is not, in-fact, totally ridgid. when you apply a rotational force to the bodies, the joint tends to bend. I spent many hours attempting to find a solution to this issue, but alas I have been left to my own devices.
Currently, things are looking up. I have most of data needed for the physics calculations being set up or retrieved, and the only thing left before I can apply the various maths that are required is to calculate the surface normal for the surface thats doing the colliding. In all my searchings I have found the Stack Overflow forums to be invaluable and the people there, more than willing to help.
If all goes according to plan, I believe I may have the physics finished being implemented by the end of this week. but then again, when do things ever go as planned?
By way of explanation: Farseer was working great until I got to the point where we wanted to use a "weld joint" (the Farseer rigid joint) to attach two bodies for constrained rotation. It seems that this joint is not, in-fact, totally ridgid. when you apply a rotational force to the bodies, the joint tends to bend. I spent many hours attempting to find a solution to this issue, but alas I have been left to my own devices.
Currently, things are looking up. I have most of data needed for the physics calculations being set up or retrieved, and the only thing left before I can apply the various maths that are required is to calculate the surface normal for the surface thats doing the colliding. In all my searchings I have found the Stack Overflow forums to be invaluable and the people there, more than willing to help.
If all goes according to plan, I believe I may have the physics finished being implemented by the end of this week. but then again, when do things ever go as planned?


