I setup a sample project to help another user on the forums out and thought this would also be a good place to share in the event anyone is interested. I’ve seen many users ask about getting the projectile with the sample FPS template to work with destruction meshes and using line trace as well. This project has both for your testing needs.
This sample is a setup that has two types of projectiles included.
LMB will fire the line trace weapon that applies a radial damage on hit location
RMB will fire the ball projectile
The two setups in the image are the default settings used for a destruction mesh. The one on the right is setup to take impact damage from the ball projectile mesh.
There are two additional setups to display support chunks working in 4.6 now and one setup to break chunks off the DM cube rather than fully destroy on impact.
Have a look and if you have any questions or need help feel free to ask.
Very cool stuff , i will wait 4.6 release for trying it . Thank you so much.
, i don’t know how saying it in english because it’s really hard for me you explain :
A day ; if you have ever free time to do some tutorials like this :
Detect if a wall is small then the character is “crouching” squatting on ?
Detect if the wall is bigger then the character is pressed and remains standing on
Detect if two walls are close then the character can run, move over.
I will not dare to ask to climb on walls because assets in the marketplace…
Maybe like Gear of wars you will understand ? Thank you
Can you help me please?
How do you set up the cube to break chunks off the DM cube rather than fully destroy on impact? I try to replicate it, but with no luck.
Some of this will be determined by how you’ve applying damage to the cube but let’s say for as a starting point that you only want to drop a cube and have it not all break as once. No weapons or anything. Just gravity.
The settings you’ll want to focus on on setting the for impact damage and support depth
I don’t have Unreal opened in front of me, but I think that should get you started. The most important part is the support depth. This will keep chunks together that have not received enough force to be broken free.