How stop bouncing when object move faster than a certain speed?
It’s rare for a bullet to bounce off soft ground, so i’m want to replicate that.
I tested an object flying at 800 to 5000 m/s hitting the ground, but all of bounced off at fast speed.
I tried setting Restitution to 0.0 in the both physical material but it had no effect.
Perhaps you could apply the desired opposing impulse manually on hit, in a similar fashion to what was suggested here:
The math can be done much better, ofc - it was just an example. Some kind of curve would be nice, surely.
edit:
I am under the impression that the PMC overrides what the physical material is trying to do:
In which case (tested it only very briefly) you may need to either switch to your own physics sim, or apply the effect manually as suggested above.
Cool story, never realised the PMC vs just physics sim does that (Restitution
set to 0 and with Min Override
):
There, I learnt something today. Try something along the lines of:
With the restitution set to 0.5 - every contact halves the projectile velocity. Massage some values as needed, ofc. Also, even though there is no material assigned to other surfaces, a default is always provided, spitting out default values.
Sorry i do not use projectile movement component.
It is too many unnecessary features…
But your reply gave me a hint.
Setting Linear Damping instead of Opposing Impulse gave good behavior.