Myles
0
Q:

explosion godot

I'm not an expert with 3D games, I focus mainly on 2D games, but I think this should work:
1. After exploding get all objects in the range of explosion
2. Cast a ray to each object in the sphere
3. If the raycast is sucessful and nothing is in the way apply force to the object in the direction from explosion and multiply it with "1-(distance to object)/(explosion range)"
0

New to Communities?

Join the community