Collision without physics

Hi Marc,
For the grenade to fly through the air it has to be simulated. The physics is what tells the game where the grenade has to be. So if you turn off its physics, it will become a static object, which you could move on your own if you wanted to write the math for it.
But there are at least two simpler ways to achieve what you need.

  1. You could set the grenade mass to a very small number and set the mass of the objects it has to hit to a very high number so they don’t get moved, but this might change some other behaviours of the physics in your game that you might not want to along the way, as you would be tied to this balance.

  2. You could also make the grenade have a Query Only collision mode and implement your logic from this query only. This again, might have different consequences later as your bullets would always be like this.

Let me know if this helps.

i have a grenade launcher that shoots grenades. now i want to get an hit event when it hits a object but i dont want to simulate the physics. the hit object gets pushed back by the grenade but i want it to stay stationary.
i still want the hit object to be simulated though.
edit: i have a projectile movement component on the grenade

i kind of went with the second approach. i experimented a bit and now it works. thanks