sabato 9 luglio 2016

Day 142: Particle and basic integrator

Today I started to build the physical engine. Since I'm quite new to this field I'll follow the book "Game Physics Engine Development" by Ian Millington, which seems to be the best resource to start with. I will not follow exactly the book, and I will adapt and modify the engine to my needs whenever possible.

Today I've written a Particle class, which is the base entity in a physical engine with only point masses. I've also added an integration function (which is the function that updates the particle each frame) which applies the basic Newton laws. However I'm still missing a system to handle multiple particles.

From now on, if I've something to show, I'll publish a gif instead of an image for obvious reasons

Nessun commento:

Posta un commento