userLayladcancel

7,444 Commits over 3,622 Days - 0.09cph!

2 Months Ago
Clamp mixer volume to 0,1
2 Months Ago
Add readonly Mass property to Rigidbody, some parented props are calculating wrong mass so it helps to know what mass a rigidbody is
2 Months Ago
Fix offset child model colliders constantly rebuilding, check if their target local has changed instead
2 Months Ago
These floors should be static in physics_simple scene
2 Months Ago
Add IgnoreRoot to ragdoll, mostly so I can test motion enable toggle, needs better name
2 Months Ago
Set ragdoll transform to root body transform. Use absolute flag for child rigidbodies so parent transform doesn't fuck them
2 Months Ago
Add GameObjectFlags.Absolute, ignores the parent transform. Basically, position: absolute for gameobjects
2 Months Ago
Parts have linear and angular damping, so use them
2 Months Ago
Dynamic joint scaling https://files.facepunch.com/layla/1b1311b1/sbox-dev_8tUelwOLEE.mp4
2 Months Ago
Fix capsule collider update not using scale Fix adding transformed RnHull, just make a new hull, we were transforming the serialized rubikon hull which is very bad!
2 Months Ago
Scale hull collider points with world scale
2 Months Ago
Scale ragdoll joint local frames by body world scale
2 Months Ago
Fix capsule collider not using world uniform scale when it probably should
2 Months Ago
Add motion enabled support to ragdoll, motion disabled drives kinematic bodies using render bones https://files.facepunch.com/layla/1b1211b1/sbox-dev_x0MIf0ioIl.mp4
2 Months Ago
Rigidbody with motion disabled uses shadow controller because it's kinematic
2 Months Ago
Destroy physics on ragdoll destroy too Clear physics bones when switching out renderer
2 Months Ago
Add rigidbody flags to ragdoll Add physics lock to ragdoll
2 Months Ago
Use renderer bone transform to set up ragdoll rigid bodies if they exist https://files.facepunch.com/layla/1b1211b1/sbox-dev_Rr8wJCrHB6.mp4
2 Months Ago
Joint desc limits are in degrees
2 Months Ago
Return joint desc limits in degrees because who wants to deal with radians
2 Months Ago
Set ragdoll collider surfaces
2 Months Ago
Add work in progress ragdoll component that creates child rigid bodies from model physics https://files.facepunch.com/layla/1b1211b1/sbox-dev_CS4vIaEj8o.mp4
2 Months Ago
Make SetBoneTransform and ClearPhysicsBones because I need them
2 Months Ago
Add HullPart.GetPoints
2 Months Ago
Support HideAttribute on enum control widget entries Add points primitive type to hull collider for the situations when you want a custom hull collider defined by points
2 Months Ago
Add attachment mode to ball joint, same as hinge
2 Months Ago
Fix crash getting joint desc limits, interop hates this for some reason
2 Months Ago
Implement CastBodyMultiple for trace body run all
2 Months Ago
Fix Trace.Body not using start rotation
2 Months Ago
Update physics shape material properties on surface reload
2 Months Ago
Remove vsurf resource, we use surface game resource for this 0,1 range on Collider.Friction
2 Months Ago
Make sure collider friction is set back to surface friction when custom friction is disabled
2 Months Ago
Colliders use the target world of rigidbody to work out the local shape transform, more reliable than using the physics body transform
2 Months Ago
Check for changes internally for physics body SetPosition and SetOrientation, setting them wakes up the body and moves proxies so only set them on change
2 Months Ago
Fix isUpdatingFromPhysics not being set back to false
2 Months Ago
Don't include triggers in mass calculation, rebuild mass when trigger property changes Fix CPhysicsShape::SetMaterial likely not rebuilding mass properly
2 Months Ago
Refresh shape contacts before and after changing tags, fixes shape collision rules not updating when proxy bounds are overlapping
2 Months Ago
Don't draw physics wireframe with alpha, it's hard to see
2 Months Ago
Add Surface.RollingResistance https://files.facepunch.com/layla/1b0811b1/sbox-dev_JICzg1spr4.mp4
2 Months Ago
Obsolete Surface.Dampening, unused, never has been
2 Months Ago
Rebuild mass when updating physics shapes (only convex shapes)
2 Months Ago
Only update collider shape on property change
2 Months Ago
Forgot to return array to pool
2 Months Ago
Fix non uniform scale sphere collider updates
2 Months Ago
Don't rely on keyframebody when updating colliders, they could be sweeping to a new position so the shape gets updated using an incorrect local transform
2 Months Ago
Try to make restitution work with soft contacts, fixes bouncy surfaces when dynamic collides with kinematic
2 Months Ago
Typo
2 Months Ago
Scaling should not be applied to NormalToLocal and NormalToWorld but happy to be proven wrong
2 Months Ago
Fixed transformation order for PointToLocal and PointToWorld, add some tests to make sure they match ToLocal and ToWorld
2 Months Ago
Serialize animation parameters if they're changed in editor https://files.facepunch.com/layla/1b0611b1/sbox-dev_paNSU6QjyT.mp4 Run animation for skinned model renderer in editor if it has any stored parameters because we want to see them Signal values changed for float slider, OnChildValuesChanged wasn't called when moving slider