Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Damage using a physics model?

This topic is 5235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How would you implement damage using a physics simualtion. The simulation would using force vectors, acceleration, velocity mass ect... However I want to use the same code for collisions with projectiles(ie: bullets, shells ect..) as bounces.(ie: a ball hitting a wall.) How could I do this. Should each object have a property of the amount of force it can take before it deforms in to an explosion. This would have to be amount of force per m^2 wouldn''t it? As a side note, how could I implement laser beams in a sci-fi space game? Would I just use a whole bunch of little tiny projectiles in a stright line. How does light deform steel anyways? Thanks for listening to my jibberish. Nick Müsli Games www.musli.tk

Share this post

Link to post
Share on other sites
You may already know this, but I think you also want to take into account impulse: F*dt = M*dv , since time has much to do with it.

I think a laser would just be one really long projectile that doesn't move.

[edited by - EvilProgrammer on March 20, 2004 11:46:36 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!