Similar to the “explosion force” extension that works with physics 2d, is there a similar way to do it for 3d? Like an explosion that propels 3d physics objects upwards and away from the explosion, like knockback
You could use the “apply force towards a position” action, with a negative value for the force amount.
Another simple way would be to apply force based on the X,Y, and Z distances from the explosion. It is no different from two dimensions… just subtract explosion.X from target.X, then use that number as the X force. Repeat for all axes needed. You might need to multiply all of them by some number to match the scale of the world and objects.
(The disadvantage of this is that it creates a “cube of effect” rather than a sphere. Things that are at a diagonal will be given more force than things that lie on one axis or another. But it’s easy math for you and the cpu)
If you want to get fancier then you can learn some vector math