branchrust_reboot/main/vehiclescancel
1,903 Commits over 2,191 Days - 0.04cph!
Fix centre of mass calculation bugs and issues with moving modules
Fix mount point calculation for rotated vehicles
Refctor some module manager inventory code into a separate class
Remove module manager partial class, merge it into the main one.
Merge from Main -> Vehicles
▅█▌▅ ▄█▄ ▉▇▍█ ▌▅▊▊▆ ▉▋ ▅▅▌▇▉▄▆ ▍▊ ▍▌'▉ █▅█▇▉ ▊▄▇▇▄ ▌█ ▍▋▇ ▊▋▉▇▄▉.
Beefed up the isDraggable to a more general isUIInteractable. If false, prevents any UI-based interaction with the item. Drags, clicks, etc.
Added isDraggable setting which if false, sets items as non-draggable. Dummy slot fillers are no longer draggable.
Allow moving modules on top of themselves
Added support for moving modules around on a vehicle (vs add/remove)
- Adjust vehicle lift states
- Adjust vehicle lift model
- Freeze vehicle physics when vehicle is editable
- Protocol++, Save++
Adjust vehicle lift length
Fixed several issues with adding and removing modules
Fixed dummy slot items not being added
Correctly end vehicle module UI editing when player closes it
Vehicle modules show up in the editing UI
Linking module item, dummy item, and physical entity data together, and getting removal working.
Random modular vehicle spawns now working with the new system
Setting up modular systems to work with the socket inventory
Steering wheel and player's arms on steering wheel now animate. Any module can now modify the player model
Fix bad merge issues with mount points on other vehicles as well
Better fix for scrap transport heli
Fix driver seat setting in the scrap transport heli
Merge from Main -> Vehicles
Cleaning up bugs, working on item support and editing UI. Save socket info on the item instead of the module so we can handle double socket items. Some renaming.
Fix vehicle modules not being added on client. Vehicles are driveable again.
Major refactor to make the module manager a sub-entity, letting it do its own entity methods etc. Also setting up for the module inventory being the major determiner of which modules are on the vehicle. Some things currently a little broken, but all is compiling.
Adjust chassis colliders to match Thai's new models
Working on modular vehicle inventory (module sockets)
Changed inspector foldout style because the previous version was preventing propertydrawer editing (Unity bug?)
Fix modifying list within foreach
Merge from Main -> Vehicles
Make model settings collapsible in inspector
More work on the configurable module models for Thai. Nearly done now.
Implemented SocketIsFree method
Better system for sockets
Bit of a hack to get module sockets working again, will fix this properly soon
Adjusted wheel collider positions to match Thai's new models
replaced missing element in chassis3
Working on a setup for Thai where module model renderers can adapt to appear differently in different slots
WIP suspension/steering setup