Hi, I’m learning unreal, and I started a game with the ‘blueprint advanced vehicle game’. I want to make a blueprint to sense if the top hits the landscape, then change the scene to a crashed scene. How would I do this in blueprints?
P.S. I literally got the program today, so try to take that into account. Thanks, Brad
What do you mean by “change the scene”?
To detect if the roof is on the ground I would add a collision box to the top of the car (or 2 if you want to be really sure) and on overlap you trigger your event, which im guessing is to show a “reset position” button or something which you would probably do through UMG
Thanks ZoltanJr.
Yeah, by ‘change scene’ I meant like go to a lose screen or something but yeah I’ll figure that one out. How do I add a collision Box on top of the car?
You will want to open up the blueprint that the vehicle is in.Probably the vehicle pawn. Add a new collision component to it and then use the overlap event on that with a timer to check it’s still overlapped rather than flipping