branchrust_reboot/main/comfort_fixescancel
3 Commits over 0 Days - Infinitycph!
bear rug comfort trigger size increased 1.1 -> 3 and minComfortRange stays at 2 - this means you will get comfort from further away but you have to be within 2m to get full comfort, previous commit's fixes means a single player within 2m of the bear rug will get 25% comfort - subject2change
Calculate comfort from the player's center point, not feet. Clamp minComfortRange [0, triggerSize] so incorrect prefab setups never influence code - minComfortRange cannot be larger than the triggerSize, this creates poor comfort behaviour
TriggerComfort gizmo to visualise the centre and minComfortRange