gravity and grenade velocity
#31
Much simpler. There are no units, really.

Code:
// fake physics for player ents to create _the_ cube movement (tm)
, for bouncers however
Code:
const float CUBES_PER_METER = 4; // assumes 4 cubes make up 1 meter const float BOUNCE_MASS = 0.5f; // sane default mass of 0.5 kg const float GRAVITY = BOUNCE_MASS*9.81f/CUBES_PER_METER/1000.0f; bounce->vel.z -= GRAVITY*curtime;
Still, most of the physics were just
Code:
invented on the fly and simply tweaked until // they "felt right", and have no basis in reality.


Offtopic request to devs: please agree on whether you use spaces or tabs in the source code.
Thanks given by:
#32
Offtopic reply: About tabs in the source, flowtron is the only one you should talk.
Thanks given by: