ue4 physics let you walk into a destructible mesh with a player controller causing destruction but not a vehicle? how do i add push or touch force to the sedan blueprint to keep it simple.
Hi RydgeMrPinky,
You should be able to just set the impact damage in your DM and drive the sedan into it to fracture. The impact Damage should be a value you set. In my test I just use 1.0. The Impact Damage Depth should be at minimum 0.
I used the Vehicle Template as a test and these work as intended. If you’re still having issues, you need check the collision settings for the sedan in your player character BP.
thanks i just wasnt driving fast enough i had it all woked out
I have some weird issue where if you lightly touch the destructible it will completely break and the chunks will then break whatever it’s next to. Honestly been considering adding impact zones to our vehicles that will do destructible damage based on force calculations. It’s absolutely critical that cars can drive through walls in this game
You need to set the Support Depth to at least a value of 1. Any higher values (up to 5) will correspond to any other depth layers present. The only way to have additional depth layers at the moment is to use PhysX Labs from NVIDIA.
Yeah the model was created in physx lab and has 2 depths, setting it to second depth causes all of it to break and it will break any mesh near it, it also has support chunks which do not break yet they seem to have no effect for impact damage. I don’t think I set up impact damage in physx lab though that was done in the editor itself
There are a lot of settings that can affect your DM.
For instance:
Damage Spread: 0.1 is a low value by default, but if a large enough force hits or causes damage it will transfer to surrounding chunks with enough force to break them free. Try a lower value or 0 to prevent any damage from spreading to other chunks in the DM.
Impact Velocity Threshold: use this to control the speed an object must be traveling to cause damage. Higher values can help from low speed impacts from destroying an object.
Damage Cap: This is helpful to keep Damage within an certain range. For instance, if an object receives a large force of damage it will only apply up to this amount of damage.
Support Depth: The depth at which chunks will “stick” together until they receive enough force to be broken free.
Minimum Fracture Depth: try adjusting this as well to get more refined destruction at specific depths. Only useful with DMs that have more than 1 depth layer.
Feel free to post your DM settings and I’ll have a look when I can, but no promises.