branchrust_reboot/main/hackweek_visual_lootcancel
17 Commits over 0 Days - ∞cph!
More containers.
Manifest.
Added function to get the best storage area for a given item, based on size and remaining space.
Try storage areas in a random order.
Added function to get the available remaining storage volume of a storage area.
No longer over-fill storage areas.
Attempt to place loot in descending size order.
Function to order loot by size.
Functions to calculate the total storage volume available, and the total storage volume required for a list of loot
ServerInit.
Nicer placement.
Prefab and settings tweaks
Pick a random area for each item.
Areas can now be offset.
Random offset per item.
Move more stuff to DoPrepare.
Some inital runtime stuff.
Some hackweek as fuck wip code/tests
Bunch of WorldModel DoPrepare precalculations including largest dimension and collision based bounds.
Functions for aligning an object based on largest and 2nd largest dimensions.
Can now determine all items in the most "sensible" orientation: largest dimension sideways then 2nd largest upwards.
Bunch of supporting code.
Test functions to spawn all items with world models in a scene.
Debug rendering of bounds and directions.