userLayladcancel
reposboxcancel

4,014 Commits over 1,461 Days - 0.11cph!

11 Months Ago
Add materials back to BVH
11 Months Ago
Save RnHull_t on shape so tools can grab it later
11 Months Ago
Create RnHull from library hull, just copy everything over
11 Months Ago
Revert "Don't add hulls and meshes to aggregate if they fail to build (old data)" This reverts commit 54d7102f39ce1aca8dde5f84c4cb91070f953eb2. Revert "Abstract physics hull" This reverts commit 592ef2bbb12f7cb633735b58c7ff5f594c292715. Revert "Allow BVH to have optional material indices" This reverts commit 6ba259ea8f0271d3f59e7b138a07f691cc918c6f. Revert "Move CPhysicsMesh and CPhysicsHull to their own files" This reverts commit 9c6ca449f38b72260189f2dc093aa4325b96fee6. Revert "Abstract physics mesh, phase out RnMesh_t but keep around for loading old collision data" This reverts commit 883b63ad78c97bd879a9f64e14551ff13bebca5f. Revert "Start trying to phase out RnHull and RnMesh" This reverts commit 71878031f158215d4f40a4f1dc913827824394ba. Revert "Remove bullshit from RnHull and RnMesh to see if still loads and how" This reverts commit 288df9621dd0c6cb6de3e35b958cecc4cb267102. Try pointing hull resource pointers to rubikon data, much easier if works Resource pointer needs to use intptr_t Add a hull deep clone Cherry picked SAT fixes in library
11 Months Ago
Don't add hulls and meshes to aggregate if they fail to build (old data)
11 Months Ago
Abstract physics hull
11 Months Ago
Move CPhysicsMesh and CPhysicsHull to their own files Allow BVH to have optional material indices
11 Months Ago
Abstract physics mesh, phase out RnMesh_t but keep around for loading old collision data
11 Months Ago
Start trying to phase out RnHull and RnMesh
11 Months Ago
Remove bullshit from RnHull and RnMesh to see if still loads and how
11 Months Ago
Rescale bodies and joints on aggregate creation using aggregates scale
11 Months Ago
Support joint scaling https://files.facepunch.com/layla/1b1411b1/sbox_0123.mp4
11 Months Ago
Support hull scaling
11 Months Ago
Support capsule scaling
11 Months Ago
Support sphere shape scaling Scale sphere debug shape transform
11 Months Ago
Port over shadow controller
11 Months Ago
Fix trigger touch events, skip contact AFTER activating it
11 Months Ago
Adjust inertia tensor based on the ratio of custom mass to computed mass
11 Months Ago
Shape AsSphere and AsCapsule
11 Months Ago
Remove shape creation from interface, used for getting hit point and normal from sweeps, should just have a function for it on interface
11 Months Ago
Make aggregate physics library agnostic
11 Months Ago
Implement some more annoying joint functions
11 Months Ago
Set joint local frames
11 Months Ago
Get joint local and global frames
11 Months Ago
Touch found, touch persists and touch lost Enable contact modification if touch persists is enabled Allow contacts to be flagged as non solid so they get reported but not resolved (triggers)
11 Months Ago
Non dynamic bodies mass center is bounds center for now
11 Months Ago
Compute mass for hull Compute mass for sphere and capsule
11 Months Ago
Remove game mass, unused
11 Months Ago
Do the same for HullCreateBox so we can get player hull starting to work
11 Months Ago
HullCreate with just the vertices until we have a shared hull class or interface
11 Months Ago
Store the original triangle index on BVH before it runs through mesh builder and sorting so we can get the original triangle and triangle material
12 Months Ago
Revert this, it cocks everything up, find a different way
12 Months Ago
Calculate mass for all bodies, not just dynamic, our API relies on it
12 Months Ago
Oops, wouldn't have worked, now it does
12 Months Ago
Traces get start solid from solver, not fraction being zero
12 Months Ago
Cast callbacks calls world ShouldHit, does some extra checking for static/dynamic
12 Months Ago
Save pre velocity for intersection notifications
12 Months Ago
Support body inertia scale
12 Months Ago
For aggregate CheckShapeOverlap, just use CastShape, that will handle meshes for us Fix body CheckOverlap, switch the test around when the shape is a mesh
12 Months Ago
Get rid of unused overlap and sweep functions from interface Aggregate CheckShapeOverlap, skip meshes for now
12 Months Ago
Body Enable, Disable, IsEnabled
12 Months Ago
Remove GetSimulationTime Apply flags to collision attributes for toggling touch events
12 Months Ago
CastShapeSingle CastShapeMultiple
12 Months Ago
Use GJK for GetDistanceBetweenHulls
12 Months Ago
Fully implement CastShapeAgainstShape using TOI, one function vs fuck knows how many
12 Months Ago
box vs capsule
12 Months Ago
Start supporting CastShapeAgainstShape, starting with ray vs capsule to get hitboxes working
12 Months Ago
Move TestQuery to world, only physics game system uses this
12 Months Ago
Create new BVH and swap it out for UpdateMeshShape (probably not fast but never was)
12 Months Ago
Implement ClosestPoints