Hi there!
I am trying to make a multiple player game where people throw bombs at each other. When the bomb goes off, it will leave hole in the ground that players can fall through.
I have been trying to find out how to do this and cannot find much information on it.
I found a couple things but all of these seems way more than I actually need.
The two things I have found that might do it are UE5 Geometry Script (Booleans at Runtime) and pretty much faking a hole in the ground (A mask).
Any tips on how to achieve this?
Article : How Holes are Made in Games | A Technical Exploration of Holes in Video Games | Medium
Hey there @Donkeysniper! Welcome back to the community! So this is going to depend exactly how you want to handle the holes. Do your explosions always occur in the same shape on the floor mesh forming the same size/shape hole everywhere or would you need that to be more procedural based on it’s location?
Geometry scripting in this case is what I’d usually recommend for most games with some caveats for performance in large areas, and you could even control different factors so add some variation to the gameplay like shape of the explosives and position.
Alternatively working with Voxels if you need some kind of depth instead of just falling through a thin plane.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Hi!
I am glad to be back to the community!
I am planning the shape of the holes to be the same but the size be different (Smaller or larger). The hole is probably going to just be a circle every time. The performance was the thing I saw that could be a problem. If there are 4 people running around creating holes in the ground, would that cause performance issues? The game is supposed to take place in a small area and be very short rounds so it might not be an issue.
The area would be a smaller area kinda like this game below (Boomerang Fu)
I look at Voxel but I do not need that type of depth.
I am going to go with Geometry scripting and see how that goes.
Thank you for all your help!
1 Like