branchrust_reboot/main/legscancel
16 Commits over 0 Days - ∞cph!
Draw censor cube on leg cock
Don't draw legs in third person etc
Wearable caches list of renderers with LOD # to avoid looking up by name
When leaning forward, also lean down a little bit
When crouched and looking down, pull camera up a bit
Added legs.EyesLeanForward convar, clamped to avoid looking through walls
Convar for toggling legs off
Documentation
Added Wearable.ExtraLeanBack, to allow per clothing item adjustment (if armour gets in eyes etc)
Only take LOD0 for legs
Apply lean offset when mounted too
Fixed skin colour not always applying correctly to legs
Manually control the spine on leg models
Fixed NRE in BaseViewModel
Legs don't need to cast a shadow
Scale the Viewmodel Z between 0.4 and 0.7 so it doesn't clip through your knees
Set player_model.prefab up for legs
Added/populated SkinnedMultiMesh.Part.Wearable
Lean forward slightly when looking down
Don't crouch offset the camera when jumping (consistent with the player model)
Limit down look angle slightly
Added Wearable.HideInFirstPerson (optional, optimization)