userLayladcancel
reposboxcancel

4,304 Commits over 1,552 Days - 0.12cph!

1 Year Ago
Support 2 body overlap check
1 Year Ago
Remove joint Activate and Deactivate, unused and no longer a thing
1 Year Ago
Fix crash when removing contacts, sometimes the next contact can be null? Remove contacts if we disable joint collision
1 Year Ago
Allow joint collision to be toggled (do we need to update contacts?)
1 Year Ago
Joint motor modes
1 Year Ago
Filter out shapes on sphere and box queries
1 Year Ago
Add CWorldCastMultipleCallback for multiple casts
1 Year Ago
Add a should collide callback so we can hijack the simulation filtering (naughty)
1 Year Ago
Move cast callback to physicsfilter
1 Year Ago
Remove collision function mask stuff on body, only used on shape
1 Year Ago
Use our custom cast callback using physics filter for single casts to test Setting collision attributes with no tags will add solid by default, important!
1 Year Ago
Add CPhysicsFilter which is just our modified CRnCollisionFilter, we'll fork the physics library slightly to perform our own filtering
1 Year Ago
Surfaces properties instead of material on CShapeCastResult
1 Year Ago
Get cast result surface properties from per triangle material indices if we trace a mesh
1 Year Ago
Store per triangle material indices on shape so we can get them back on collision event
1 Year Ago
Do the same for CastSphereMultiple CastBoxMultiple too while we're at it
1 Year Ago
Add a cast callback that collects all intersections to support CastRayMultiple https://files.facepunch.com/layla/1b0711b1/sbox_0053.mp4
1 Year Ago
Remove linear and angular drag, no longer a thing
1 Year Ago
Get rid of unused query functions on interface
1 Year Ago
Fix shape CastSphere and CastBox (probably)
1 Year Ago
Downgrade CastSphereSingle to CastRaySingle if radius is zero Mesh shape CastRay is getting -1 for best triangle sometimes so ignore it to avoid crash
1 Year Ago
Do sphere and bounds shape overlap tests properly by copying how testbed does shape casts
1 Year Ago
Sphere query will perform a shape overlap if we're testing for shapes and not proxies https://files.facepunch.com/layla/1b0711b1/sbox_0048.mp4
1 Year Ago
Add sphere query to dynamic tree World sphere query (needs testing)
1 Year Ago
AddBoxShape and AddHullShape that C# use
1 Year Ago
Get rid of UTIL_TraceModel
1 Year Ago
CastRaySingleBody, CastSphereSingleBody, CastBoxSingleBody, probably not fully correct but only markup volume uses it and we'll probably get rid of this
1 Year Ago
Remove some unused cast functions from interface
1 Year Ago
Delete our joints and shapes before removing body from world
1 Year Ago
Remove shape from body and remove body from world checks if it owns them first
1 Year Ago
World query (cos mixed shadows uses it) Disable shadows on debug rendering
1 Year Ago
Get cast result surface properties from hit shape material
1 Year Ago
Shape GetInertiaProperties (overkill? Only CModelPreviewPhysicsShape uses it) Adding/removing tags on shapes collision attributes until we know how this fits into the filtering system
1 Year Ago
Aggregate SetCollisionAttributesFromResource and SetTotalMass Setup the callbacks for contact modify and end Prismatic joint from desc Spring joint from desc
1 Year Ago
Port spring joint from rubikon https://files.facepunch.com/layla/1b0611b1/sbox_0041.mp4
1 Year Ago
Remove World StepCollision and GetSimulationTimeElapsed, doubt these are needed anymore
1 Year Ago
World GetJoint by index
1 Year Ago
Body and Shape SetMaterialIndex World GetBody by index
1 Year Ago
Remove legacy objectparams_t stuff
1 Year Ago
Conical joint limits
1 Year Ago
Calculate collision impact forces to give the same results we currently get
1 Year Ago
Support shape cloning
1 Year Ago
Shape get material
1 Year Ago
Another big interface cleanup Disable rendering of debug scene objects when debug rendering is disabled Shape set material (density, friction, restitution) Aggregate set surface properties Set shape material when building aggregate
1 Year Ago
Collision events with bullshit impact strength until this can be calculated properly
1 Year Ago
Don't enable joint collision by default
1 Year Ago
Fix mesh shape debug drawing https://files.facepunch.com/layla/1b0411b1/sbox-dev_Iu61effQRf.png
1 Year Ago
Create debug scene objects for edges Delete debug sceneobjects when we're done with them
1 Year Ago
GetLocalInertiaOrientation, GetLocalInertiaVector
1 Year Ago
Another big interface cleanup FindClosestPointOnConvexShapes using gjk