Thread: [Solved] "Bouncing" Props
View Single Post
Chrissy
Member
Join Date: May 2013
Old 06-14-2020 , 06:45   Re: "Bouncing" Props
Reply With Quote #6

Quote:
Originally Posted by kadet.89 View Post
I now see in CSGO m_flElasticity is only used for CBaseCSGrenadeProjectile, to make smoke, he and other projectiles bounce. It doesn't work for physics props
You could create a he projectile, block the countdown (m_flDetonateTime) and change the model, it will be just like physics prop.

These entity types can be used:
hegrenade_projectile
flashbang_projectile
molotov_projectile
tagrenade_projectile (not sure about this one)
smokegrenade_projectile
Btw it is safe to change projectile classname in OnEntityCreated to any, even prop_physics

Or you can implement own CBaseCSGrenadeProjectile::ResolveFlyCollision Custom for physics_prop
Interesting idea. However I resorted to using a particle system instead. I never did get prop_phyics_multiplayer to spawn but that's for another day.

Thank you all
Chrissy is offline