4,297 Commits over 1,552 Days - 0.12cph!
Swap bit fields when copying BVH nodes
Adding transformed mesh uses fast path when there's only scale in transform (building BVH is expensive)
AddMeshShape with scale can just do a deep copy of BVH, mesh shapes support scale
Make sure BVH gets destroyed on shape destroy
Destroy hull after adding it to hull shape, shapes no longer own the hull
Deep copy rubikon hull to izabu hull
Should collide callback is backwards, woops
Fix StepUpdateManaged not accessing active bodies, woops
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
Fix GetTriangleMaterialIndex for meshes
Collision mesh serialization now uses Vector instead of VectorAligned for vertices, upgrade them in transfer post load
Remove these sweep functions from interface, we're not using them
Fix loading custom cursors and tga, psd textures in non editor games
Shape, Joint, Contact are structs now
Remove custom cast callbacks for now, can probably use their casting now
IzGeometry -> IzQueryShape
IzTOIQuery -> IzTOIResult
Default world def
Setup contact modify and should collide callbacks
Create shapes with default shape def
▌█ ▍▋▋ ▊▅██ ▌▅▌ ▇▆▍▆▅▄ ▊▊▉▇▆▌
▇▅▆▉ ▆▋▊▍▇██▄▊▋ ▆▊▋█▊▆ █▅▄▉▅█▋▆▌▌█▇▅▊▉▆▋
World and shape userdata is void* now not intptr
Fix GetBody, AddBody, StepSimulation, StepUpdateManaged
Fix compile errors in physics joint
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
Joint is enabled if it's active
Allow joint to become inactive
Linear slop is 0.03125 in sbox
Update to latest, update vpc, wrap any izabu changes in SBOX defines
Remove step results from physics interface, no longer used
Add json type converter safely through TypeLibrary
Remove unused convar refs
Add binds we'll need for sceneobject serialization
Bind light desc so we can create a light directly from desc
Make sure any scene light properties ask native for their value so they can never go out of sync
Preview animgraph parameters on model preview https://files.facepunch.com/layla/1b0311b1/sbox-dev_orVYPmENxI.mp4
Fix GetParameterInt and GetParameterFloat not working for ANIMPARAM_ENUM
Fix incorrect min max for int AnimParam
Add option names to enum AnimParam
Terrain can import splatmap from png, tga, jpg, psd
Dictionary control widgets can't be edited when readonly
Allow model inspector to preview animations https://files.facepunch.com/layla/1b0211b1/sbox-dev_fdrQka7PNG.mp4
Start pending components before physics step - fixes physics step running before joints are created
Fix SoundEvent.GetNextSound random not using the full range of sounds
Fix NRE in Collider.RebuildImmediately
Fix NRE in TeleportKeyframeBody