I have also implemented the obstacles with a health bar system.
How
When colliding with an object you take damage equal to the value of the obstacle + the speed of the impact.
I have replaced the destination point with a beacon, we need to check for the size of the building because it is currently not visible if you aren't in the same street.
Why
@Filtermalt pushed a new version of the city.
I have also implemented the obstacles with a health bar system.
How
When colliding with an object you take damage equal to the value of the obstacle + the speed of the impact.
I have replaced the destination point with a beacon, we need to check for the size of the building because it is currently not visible if you aren't in the same street.
Test
https://github.com/Jontahan/GGJ24/assets/47249380/8f7e03c3-5016-4a63-9438-cb236247fc59
Note
I have created a scene "FunnyDriving" which will contain all of our behaviours.
The building are purple because of a collider mesh issue from Houdini import, @Filtermalt is working on that.