Traffic system and some Goodies


Hello there!
Over the past few months I have been working on few changes fixes and QOL goodies to improve the current state of M.A.V.S
I have also annouched traffic system for the plugin soo now I guess it is time to give small glimps what has been added, changed or removed that can be exciting :)

(Images seems to be broken :/)

First Significant addition to the system are few new custom class nodes provided
These are:
MTrafficSpawner
MTrafficSwitch
MTrafficTarget 
MTrafficLightsManager (WIP)


As on the example below, new MTrafficTarget will go along the path while MTrafficSwitch will select new path for it to follow then automatically it will reparent it to the chosen path, however, in case of our path being deadend that leads to nowhere, MTrafficTarget will automatically deactivates itself and its assigned car making the car stop at the end of it by default :)

Few bugs have been fixed that have been hiding inside since day zero...
One main issue that some users have come across was cars have randomly decided to turn the opposite direction instead. 
This is no longer an issue and both basic AI and NavigationAgent AI should work fine now :)

In addition few new features have been added to the basic AI such as recognising the difference in angle between itself and target.
With that simple information, our AI car is now able to hit the brakes if going too fast on the corners. (No more crashing into the wall at the edge of the Debug map!)

M.A.V.S now also have an InputMap Generator which will genrate controlls for both keyboard and Gamepad :D
To have the InputMap generator available, you have turn M.A.V.S Plugin on, however, having it on is not necessary to fully use the plugin, its just for the input map


However if one dosn't like te current names for InputMap, it is possible to change them in vehicle settings, with addition of maping external shifter if one have it :)

And last but not least, there has been a full rework of camera system for the cars :D
From now on, player can rotate camera freely around the car without any limitations like it was before
This works only for gamepad for now tho but it allows for rotating it around car independently to vehicle rotation,
it does reset overtime if vehicle is moving and as before, camera still rotates back when reversing.
Additionally a spring arm has been added so that camera will not be able to clip through walls :)

That is all for now!
This will be available in a few days time soo stay tuned! :)

Get Godot MAdvanced Vehicle System (M.A.V.S)

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.