userLayladcancel
reposboxcancel

4,131 Commits over 1,522 Days - 0.11cph!

4 Months Ago
Actually, don't do this, I think people rely on it even though I wish they didn't
4 Months Ago
Reset velocity on body transform change too, setting transform acts as a teleport so all velocity should be gone
4 Months Ago
Implement shadow controllers with SetVelocityFromKeyframe, applied pre physics step
4 Months Ago
UpdateShadow calls SetVelocityFromKeyframe Make sure body type and use controller are updated when collider Static property is dirty
4 Months Ago
Filter TestSimulation just returns a bool, we only care if we collide or not, not these bullshit flags, we technically collide with triggers because they're sensors
4 Months Ago
This wasn't a typo, just enable sensor events for every shape because we want to report anything crossing a trigger
4 Months Ago
Allow physics interface to easily switch to using trace solver so we can evaluate which is better for our needs
4 Months Ago
Fix sensor typo stopping sensor events from working sometimes
4 Months Ago
Touch events
4 Months Ago
Sensor events
4 Months Ago
Update to latest, update vpc, wrap any izabu changes in SBOX defines Add back body axis lock Linear slop is 0.03125 in sbox Allow joint to become inactive Joint is enabled if it's active Add should collide callback Ignore izShouldCollide(Body, Body) if one of the shapes is a sensor Add joint break callback Don't calculate mass for height shapes Test max impulses for joint breaking AddSpringJoint Fix compile errors in physics joint Fix GetBody, AddBody, StepSimulation, StepUpdateManaged World and shape userdata is void* now not intptr Fix body types Joint max impulse limits Create shapes with default shape def Default world def Setup contact modify and should collide callbacks Fix AddBoxShape Add material list to BVH IsConcave -> IsMesh IzArray -> IzSlowArray IzTOIQuery -> IzTOIResult IzGeometry -> IzQueryShape Remove custom cast callbacks for now, can probably use their casting now Shape, Joint, Contact are structs now Fix more compile errors Remove these sweep functions from interface, we're not using them Collision mesh serialization now uses Vector instead of VectorAligned for vertices, upgrade them in transfer post load Fix GetTriangleMaterialIndex for meshes AddTriangleMaterialIndex and ClearTriangleMaterials do nothing until izabu base mesh shapes have a physical material list Comment out all cast functions so we can compile Don't include simd.h in VPHYSICS2_LIBRARY, conflicts with engine simd Deep copy rubikon hull to izabu hull Should collide callback is backwards, woops Fix StepUpdateManaged not accessing active bodies, woops Destroy hull after adding it to hull shape, shapes no longer own the hull CastBoxSingle AddMeshShape with scale can just do a deep copy of BVH, mesh shapes support scale Make sure BVH gets destroyed on shape destroy Swap bit fields when copying BVH nodes Adding transformed mesh uses fast path when there's only scale in transform (building BVH is expensive) Izabu has body enable/disable so just use that instead of our shit Get rid of these single body casts, they're not being used Enable sensors for triggers Missed an angular lock Route asserts to engine so they show up like any other assert Disable this contact assert, doesn't make sense Hook up joint break callback, disable joint on break These cast functions aren't used either Remove GetBboxFromProxies Try casting box with a small hull skin to avoid getting stuck Run a trace solver on hit shape to get the proper hit fraction and start in solid Move trace solve to cast callback so everything can use it Use our filtering in cast callbacks Grab triangle on base mesh so that it should work for both mesh and heightmap Get rid of all this shit, it's no good Hulls sweep with a radius Resolve hit penetration (should add to trace API?) ApplyLinearImpulseAtWorldSpace just uses ApplyLinearImpulseAt, same thing Remove more unused from interface Box casts can optionally have a convex radius (skin) this allows things like player movement to move to end position without the next trace becoming stuck and needing to fuck about Shape casts can have a start rotation ( cast rotated box, capsule, etc) Implement CastRayMultiple, CastShapeMultiple Use a callback for izLinearCast so we can override it and do our own Add per triangle material properties to base mesh
4 Months Ago
Add per triangle material properties to base mesh
4 Months Ago
Use a callback for izLinearCast so we can override it and do our own
4 Months Ago
Implement CastRayMultiple, CastShapeMultiple
4 Months Ago
Shape casts can have a start rotation ( cast rotated box, capsule, etc)
4 Months Ago
Box casts can optionally have a convex radius (skin) this allows things like player movement to move to end position without the next trace becoming stuck and needing to fuck about
4 Months Ago
Remove more unused from interface
4 Months Ago
ApplyLinearImpulseAtWorldSpace just uses ApplyLinearImpulseAt, same thing
4 Months Ago
Get rid of all this shit, it's no good Hulls sweep with a radius Resolve hit penetration (should add to trace API?)
4 Months Ago
Trace direction is wrong way around
4 Months Ago
Grab triangle on base mesh so that it should work for both mesh and heightmap
4 Months Ago
Use our filtering in cast callbacks
4 Months Ago
Move trace solve to cast callback so everything can use it
4 Months Ago
Run a trace solver on hit shape to get the proper hit fraction and start in solid
4 Months Ago
Try casting box with a small hull skin to avoid getting stuck
4 Months Ago
Remove GetBboxFromProxies
4 Months Ago
These cast functions aren't used either
4 Months Ago
Hook up joint break callback, disable joint on break
4 Months Ago
Disable this contact assert, doesn't make sense
4 Months Ago
Route asserts to engine so they show up like any other assert
4 Months Ago
Missed an angular lock
4 Months Ago
Enable sensors for triggers
4 Months Ago
Get rid of these single body casts, they're not being used
4 Months Ago
Izabu has body enable/disable so just use that instead of our shit
4 Months Ago
Swap bit fields when copying BVH nodes Adding transformed mesh uses fast path when there's only scale in transform (building BVH is expensive)
4 Months Ago
AddMeshShape with scale can just do a deep copy of BVH, mesh shapes support scale Make sure BVH gets destroyed on shape destroy
4 Months Ago
CastBoxSingle
4 Months Ago
Destroy hull after adding it to hull shape, shapes no longer own the hull
4 Months Ago
Deep copy rubikon hull to izabu hull Should collide callback is backwards, woops Fix StepUpdateManaged not accessing active bodies, woops
4 Months Ago
AddTriangleMaterialIndex and ClearTriangleMaterials do nothing until izabu base mesh shapes have a physical material list Comment out all cast functions so we can compile Don't include simd.h in VPHYSICS2_LIBRARY, conflicts with engine simd
4 Months Ago
Fix GetTriangleMaterialIndex for meshes
4 Months Ago
Collision mesh serialization now uses Vector instead of VectorAligned for vertices, upgrade them in transfer post load
4 Months Ago
Remove these sweep functions from interface, we're not using them
4 Months Ago
Fix more compile errors
4 Months Ago
Fix loading custom cursors and tga, psd textures in non editor games
4 Months Ago
Shape, Joint, Contact are structs now
4 Months Ago
Remove custom cast callbacks for now, can probably use their casting now
4 Months Ago
IzGeometry -> IzQueryShape
4 Months Ago
IzTOIQuery -> IzTOIResult
4 Months Ago
IzArray -> IzSlowArray