userLayladcancel

7,351 Commits over 3,622 Days - 0.08cph!

52 Days Ago
Fix gizmo transform for gameobjects with absolute flag
52 Days Ago
Ragdoll smooth moves kinematic rigidbodies to renderer bone, as an added benefit it means we don't need to calculate bone velocities, the rigidbody already has it when switching to dynamic
52 Days Ago
Add smooth move and rotate to rigidbody instead of having to access physics body for them
53 Days Ago
▇▍▅▋█▅ █▋▆▅▌▆█▄▄.▌▍▋▇▋▋▅▅▌▉.█▇▄██▅▌.▉▄▉▍▆▆
53 Days Ago
Static props set model collider to static
53 Days Ago
Unhide static property on mesh component (should we force mesh components to always be static?)
53 Days Ago
Disable kinematic rigidbody being a shadow controller
53 Days Ago
Clamp mixer volume to 0,1
53 Days Ago
Add readonly Mass property to Rigidbody, some parented props are calculating wrong mass so it helps to know what mass a rigidbody is
53 Days Ago
Fix offset child model colliders constantly rebuilding, check if their target local has changed instead
53 Days Ago
These floors should be static in physics_simple scene
53 Days Ago
Add IgnoreRoot to ragdoll, mostly so I can test motion enable toggle, needs better name
53 Days Ago
Set ragdoll transform to root body transform. Use absolute flag for child rigidbodies so parent transform doesn't fuck them
53 Days Ago
Add GameObjectFlags.Absolute, ignores the parent transform. Basically, position: absolute for gameobjects
55 Days Ago
Parts have linear and angular damping, so use them
55 Days Ago
Dynamic joint scaling https://files.facepunch.com/layla/1b1311b1/sbox-dev_8tUelwOLEE.mp4
55 Days 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!
55 Days Ago
Scale hull collider points with world scale
55 Days Ago
Scale ragdoll joint local frames by body world scale
55 Days Ago
Fix capsule collider not using world uniform scale when it probably should
55 Days 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
55 Days Ago
Rigidbody with motion disabled uses shadow controller because it's kinematic
55 Days Ago
Destroy physics on ragdoll destroy too Clear physics bones when switching out renderer
55 Days Ago
Add rigidbody flags to ragdoll Add physics lock to ragdoll
55 Days Ago
Use renderer bone transform to set up ragdoll rigid bodies if they exist https://files.facepunch.com/layla/1b1211b1/sbox-dev_Rr8wJCrHB6.mp4
55 Days Ago
Joint desc limits are in degrees
55 Days Ago
Return joint desc limits in degrees because who wants to deal with radians
55 Days Ago
Set ragdoll collider surfaces
55 Days 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
55 Days Ago
Make SetBoneTransform and ClearPhysicsBones because I need them
56 Days Ago
Add HullPart.GetPoints
56 Days 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
56 Days Ago
Add attachment mode to ball joint, same as hinge
56 Days Ago
Fix crash getting joint desc limits, interop hates this for some reason
56 Days Ago
Implement CastBodyMultiple for trace body run all
56 Days Ago
Fix Trace.Body not using start rotation
57 Days Ago
Update physics shape material properties on surface reload
57 Days Ago
Remove vsurf resource, we use surface game resource for this 0,1 range on Collider.Friction
57 Days Ago
Make sure collider friction is set back to surface friction when custom friction is disabled
58 Days Ago
Colliders use the target world of rigidbody to work out the local shape transform, more reliable than using the physics body transform
58 Days 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
58 Days Ago
Fix isUpdatingFromPhysics not being set back to false
58 Days Ago
Don't include triggers in mass calculation, rebuild mass when trigger property changes Fix CPhysicsShape::SetMaterial likely not rebuilding mass properly
58 Days Ago
Refresh shape contacts before and after changing tags, fixes shape collision rules not updating when proxy bounds are overlapping
59 Days Ago
Don't draw physics wireframe with alpha, it's hard to see
59 Days Ago
Add Surface.RollingResistance https://files.facepunch.com/layla/1b0811b1/sbox-dev_JICzg1spr4.mp4
59 Days Ago
Obsolete Surface.Dampening, unused, never has been
59 Days Ago
Rebuild mass when updating physics shapes (only convex shapes)
59 Days Ago
Only update collider shape on property change
60 Days Ago
Forgot to return array to pool