Building my own Delphi Physics Engine part VIII

  

TDPE is almost ready and it will not take long to release the first stable library!. I am eager to continue working on the project trying to sort out different physic scenarios  to make my dynamic engine even more realistic. Do not hesitate to give it a try as you will find the experience quite interesting. I am still working on the n-edge object and the cutting tool and trying to refactor all the code to cope with a layer architecture. Using this concept, I want to structure my system in a way that every component works using a certain level of abstraction. As you see in the next figure, every object is allocated in the screen while there is another layer which is responsible for the collision detection and another one for the forces interaction. You will notice in the video that there are still little issues to tackle regarding the object interaction as sometimes we can experience overlapping.In the figure above, you can see that now the items are not rigid and they interact with each other as they were real items. Notice that the square item will go through the round shape of the circle.[youtube http://www.youtube.com/watch?v=zhmr2xmExZ8?hl=en&fs=1]Enjoy the video!.Get the latest executable here: ThundaxBallDemo v1.504.Interaction: ‘d’ will drop a box with a random color and a constant angular velocity ‘f’ will drop a circle with a random color and a constant angular velocity ‘mouse interaction’ mouse is able to grab itemsRelated links:Collision Detection.Collision Detection. Essential maths for programmers.Building my own Delphi Physics Engine part VII.Building my own Delphi Physics Engine part VI.Building my own Delphi Physics Engine part V.Building my own Delphi Physics Engine part IV.Building my own Delphi Physics Engine part III.Building my own Delphi Physics Engine part II.Building my own Delphi Physics Engine part I.

Comments are closed.