Added level bounds boxtrigger around the diorama level
Updated level blueprint to trigger on actor end overlap and to move the actor back to the level along the actor velocity vector. If the actor is a character, use the movement component to set the velocity to 0.
Motivation and Context
Prior to this PR, the player could run off the level and fall forever, which would be sad. This fixes that sadness.
How has this been tested?
Playing on the diorama map and trying to run off the level repeatedly in different spots
Description
Motivation and Context
Prior to this PR, the player could run off the level and fall forever, which would be sad. This fixes that sadness.
How has this been tested?
Playing on the diorama map and trying to run off the level repeatedly in different spots
Screenshots (if appropriate):
https://github.com/Well-known-Game-Studio/wot_a_good_game/assets/213467/6b136ec3-d8a3-421e-9744-bf65d1ee1564
Types of changes
Checklist:
Software
.github/workflows/build.yml
file to add my new test to the automated cloud build github action.