Re: Calculating relistic falling dammage?
Yes. What I wrote is only speed upon impact. Obviously different surfices do more or less damage. The easiest way to define this is to have a factor for each surfice which is multiplied with the health lost. For concrete this could be 1 for example, and water 0.1 (rough estimates). If you want to have more controll over the player's air resistance for example if you have a parachute, you can use the following formula:
v += 9.8/(tv*tv) * dt
tv is the target speed, for a parachute this might be 2 meters per second
But generally, the more realism the more work.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector