userLayladcancel
reposboxcancel

4,221 Commits over 1,552 Days - 0.11cph!

57 Days Ago
Add HullPart.GetPoints
57 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
57 Days Ago
Add attachment mode to ball joint, same as hinge
57 Days Ago
Fix crash getting joint desc limits, interop hates this for some reason
57 Days Ago
Implement CastBodyMultiple for trace body run all
57 Days Ago
Fix Trace.Body not using start rotation
58 Days Ago
Update physics shape material properties on surface reload
58 Days Ago
Remove vsurf resource, we use surface game resource for this 0,1 range on Collider.Friction
58 Days Ago
Make sure collider friction is set back to surface friction when custom friction is disabled
59 Days Ago
Colliders use the target world of rigidbody to work out the local shape transform, more reliable than using the physics body transform
59 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
59 Days Ago
Fix isUpdatingFromPhysics not being set back to false
59 Days Ago
Don't include triggers in mass calculation, rebuild mass when trigger property changes Fix CPhysicsShape::SetMaterial likely not rebuilding mass properly
59 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
60 Days Ago
Add Surface.RollingResistance https://files.facepunch.com/layla/1b0811b1/sbox-dev_JICzg1spr4.mp4
60 Days 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
2 Months Ago
Rebuild colliders immediately instead of next update Fix NRE setting null surface on physics body or shape, should just set to default surface internally
2 Months Ago
Fix NRE's when renaming component - some work needs to be done here though to handle renames gracefully
2 Months Ago
Mesh component center origin restores child transforms
2 Months Ago
Add all properties of mesh component to sheet, filter the ones we don't want
2 Months Ago
Use EditorWindow for FileDialog parent here, fixes component type selector crash
2 Months Ago
Deserialize replaced component with json of previous component
2 Months Ago
Add replace component to component context menu because I kept finding myself expecting it to be there https://files.facepunch.com/layla/1b0111b1/sbox-dev_GO4iCHd7Qw.mp4
2 Months Ago
Try getting local mouse position from scene viewport
2 Months Ago
Mesh component uses custom editor so it can have editor operations https://files.facepunch.com/layla/1b0111b1/explorer_oFDFsVdl1V.mp4
2 Months Ago
Add access to joints on PhysicsGroupDescription, this is needed to phase out native physics aggregates in physics components
2 Months Ago
PhysicsSpring.Maximum defaults to float max
2 Months Ago
Remove ShowPredictionErrors and EntityIO from debug menu, these aren't used anymore. Add ShowPhysicsDebug there instead so it can be toggled in scene view, not suitable to put it in viewport settings
2 Months Ago
Fix infinite loop in OnDirty, set dirty to false last
2 Months Ago
Fix OnValidate not being called on property change in editor
2 Months Ago
Prioritize FbxNode name over FbxMesh name for modeldoc mesh names - If you needed it to be the other way, blame the guy that wants it this way
2 Months Ago
Don't need to bother getting parameterless function if we're not going to use it
2 Months Ago
Allow [Change] attribute to have parameterless callback, parameter version takes priority
2 Months Ago
Add ISceneEditorSession.AddUndo
2 Months Ago
Component.Serialize ignores ComponentFlags.NotSaved when cloning Undo system serializes game objects with cloning enabled
2 Months Ago
Include root namespace when creating new razor component
2 Months Ago
GameObject.Deserialize removes existing components not included in serialization when in editor Disable components when breaking apart a disabled prop. Don't recreate prop components when changing tint etc, only model change needs to
2 Months Ago
Override Deserialize with options for Scene so undo uses scene deserialize instead of GameObject, fixes undoing object deletions
2 Months Ago
Remove stepcount from physics interface, don't need to be calling into native to set this