Please drop a comment or a like
It’s tough working without much feedback,
1- a weapon and a car, and even enemy AI can use the same code now I think (compound entities)
2. mouse aim / auto aim systems now have some overlap, so it’s very easy to give the player control of a entity (jeep/ tank / robot etc)
this autoaim uses the same input (‘X’ and ‘Y’) as the players mouse looks system*
mouse_controller_w_autoAIm_clamp_range_in_degree.blend (830.3 KB)
component_example_jeep2.blend (3.9 MB)
Wrectified_entity_system.blend (4.1 MB)
tuned in the aiming system using local instead of angle differences, as it was prone to trying to flip.
now combat is getting interesting,
and you can carry / aim stuff,
keys / parts / assembly should work quite a bit like aiming a gun
you can now get in a vehicle!
can’t get out yet though!
will code that in the morning as well as ‘occupied’ status for seats (so the player and his ai’s can work out where everyone will sit)