Is there a way to detect crushing a player?
Is there a way to detect if the player is getting crushed between two assets? I honestly can't figure this one out. I also can't really cheat though it by simply using a simple collision detection. I need to figure out if an object capable of crushing the player, even if it isn't moving all that fast. Any suggestions?
To add additional Detail: This needs to be quite dynamic and I will likely need to implement more systematic methods of calculating when a player should be crushed by an object. Since my objects can have different velocities, weights, movement directions, and also inherit the unpredictable nature of simulated physics, I am going to opt for a less contextual method.
Velocity check of the crushing object to see whether it's above the threshold of negative Z (i.e. going fast enough downwards) and a collision detection between the object and the player's head ought to do the trick.
Follow this question
Once you sign in you will be able to subscribe for any updates here