Author Topic: How to make projectile model ricochet off of walls after impact?  (Read 1609 times)

To put it simply I want to do something like this.



Using Bushido's "Saw! Tomahawk!" from his quake type weapons as an example. The model bounces off sort of like a bullet casing.


Can you please give me the code for something like this and tell me where to put it? Thanks.
« Last Edit: September 03, 2019, 11:46:15 AM by RockyDoctor65 »

Try setting isBallistic to true and then messing bounceElasticity, bounceFriction, and gravityMod.

Try setting isBallistic to true and then messing bounceElasticity, bounceFriction, and gravityMod.
What does that do? Didn't seem to do anything. Also I'm making my own weapon. It's not an edit of the tomahawk, projectiles are ballistic too.
« Last Edit: September 03, 2019, 11:57:07 AM by RockyDoctor65 »

the way the tomahawk does it is create a debris datablock and attach it to the explosion, and has the explosion spawn one debris.

the way the tomahawk does it is create a debris datablock and attach it to the explosion, and has the explosion spawn one debris.
I'll see if I can figure it out. I will let you all know if I do!