Would it be possible to expose collision thickness? In the more extreme edge cases, I can crash through the ground terrain in my setups. On unreal landscape meshes, I managed to clamp this by setting collision thickness to 10000 (100m). I tried searching for the parameter in the 3D Tileset component but it doesn’t have that option - possibly because it’s a collision mesh instead of a landscape mesh?
Alternatively, any suggestions to preventing crashthroughs appreciated. Thanks!
Unfortunately I’m not trying to stick anything to the ground In extreme cases I have things colliding with the ground plane at 400kmh… I am computing altitude with a line trace though so it’s possible I could add in a check for “was 20m above the ground going 400kmh = crashed”
Yeah exactly. So if you keep track of how far they traveled the last frame, that will give you a good enough idea of how far they’re going to travel next frame. Then you can shoot a ray out of the forward vector of the airplane that length, and you’ll have a good idea as to if they’ll crash next frame. If they will, trigger your crash event and stop all of your movement calculations. On the next frame, move the airplane to that spot where the trace collided, add some offset so that it looks correct. Then the airplane will look like it actually hit the ground, if you want them to be able to see the crash. Yank the camera out of the cockpit, do a slow 360 degree arc around the airplane at a good altitude, bring up a menu or something letting them know “you crashed, what now?”