new physics in hand grenades
Posted: Mon Jan 29, 2007 8:40 pm
Ss it possible to make physics scripted projectiles using the new physics stuff Fredrico added?
I’ve noticed that the hand grenades I have now bounce unrealistically and tend to keep moving until they time out and explode.
All I think I would need is for the script to create the physics object of the grenade on a key press and that script would run a timer, when timer runs out the grenade will "explode" and create a damage area, a bunch of cool effects, and shrapnel projectiles and such.
Does any one know if this is possible?
Any ideas on how I would make the grenades fire when the player uses them?
Also I there any way to keep the grenades from damaging people who are hiding behind corners and such with the damage area?
Thanks,
Fps
I’ve noticed that the hand grenades I have now bounce unrealistically and tend to keep moving until they time out and explode.
All I think I would need is for the script to create the physics object of the grenade on a key press and that script would run a timer, when timer runs out the grenade will "explode" and create a damage area, a bunch of cool effects, and shrapnel projectiles and such.
Does any one know if this is possible?
Any ideas on how I would make the grenades fire when the player uses them?
Also I there any way to keep the grenades from damaging people who are hiding behind corners and such with the damage area?
Thanks,
Fps