I’ve just been trying to work out how to have my Player bang into things (Rigidbody physics) but not be knocked about when hit with a projectile (OnTriggerEnter). A quick scoot through various forums and whatnots shows there’s quite a lot of people asking the question and there’s a real range of answer, all based on differing requirements of the outcomes – and it’s a little bewildering. In the end I actually created a tiny raycast that destroys the object before collision (Stopping the collision taking effect).
Is this the right way to do it? Should I be using a more elegant solution? I’m new to Unity and so I don’t know what’s working because I’m creating a huge, inelegant workaround, and what works because it’s a good way of doing it.