6 Commits over 0 Days - ∞cph!
If door is cracked open, pressing E will open it all the way
Initial physics doors
Natural swinging for doors
Clean up, E to push open
3 door states - open, opening, closed
Closed: won't budge
Opening: automatically opens to 33% of max angle over time
Open: fully movable by player
Take starting rotation into account
Adjustable weight, peek fraction
Pathing fixes
Temp fix for shitty rotation smoothing, need to look at this
Simpler NPC walk logic
Walk along path
Demo path example
Shared pathing code
Scene update
Initial patrol state, editor
Need to do a proper rewrite of the actor movement stuff before this
works properly though. We should be sharing a lot of code here rather
than re-writing the same thing across multiple states, and ideally we
should be able to queue up positions to move to.
https://files.facepunch.com/alexguthrie/1b1311b1/sbox-dev_AEtQOhETj3.png