userLayladcancel
reposboxcancel

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

2 Years Ago
Only destroy aggregate in SetupPhysicsFromUnscaledModel if we're not already SOLID_VPHYSICS - avoids recreating the aggregate when we shouldn't need to
2 Years Ago
Fix capsule shapes
2 Years Ago
Add command line switch to change physics module
2 Years Ago
Disable collision for kinematics for now, many intersecting kinematics (server side bodies on client) seem to be completely fucking up the simulation, causing everything to fall through world https://files.facepunch.com/layla/1b0711b1/sbox_0061_Trim.mp4
2 Years Ago
matrix conversion
2 Years Ago
Init debug renderer so we have all the geometry batches for primitives
2 Years Ago
batch debug drawing properly
2 Years Ago
make a start on debug rendering so i can see what the fuck is going on
2 Years Ago
Remove wokeup and asleep lists from world step results, shouldn't have to need these
2 Years Ago
Remove HintSimRateChange
2 Years Ago
Remove SetBuoyancyRatio
2 Years Ago
Remove GetSphereRadius and SetSphereRadius
2 Years Ago
Same for drag and damping
2 Years Ago
Impl a few velocity related functions in physics aggregate
2 Years Ago
Create physics shapes for each jolt subshape
2 Years Ago
Override mass if provided, set inertia scale if provided
2 Years Ago
Use a rotated translated shape for single spheres and capsules so they can be offset
2 Years Ago
Rotate capsule using the two center points
2 Years Ago
Aggregates build body and shapes with a single BodyCreationSettings - rubikon could create a body and add shapes at will, jolt doesn't work that way :(
2 Years Ago
Make all bodies with compounds for now so we can collide with world
2 Years Ago
Alloc phys data Set shape userdata
2 Years Ago
SetAngularVelocity, GetAngularVelocity ApplyLinearImpulse, ApplyLinearImpulseAtWorldSpace ApplyAngularImpulse ApplyForce, ApplyForceAt
2 Years Ago
Set motion type of aggregate (on client, networked bodies get set to keyframed) this fixes SetLinearVelocity etc https://files.facepunch.com/layla/1b0511b1/sbox_0036.mp4
2 Years Ago
Add collision shapes to body
2 Years Ago
Move surface property manager and phys data manager to their own file
2 Years Ago
Create a temp box shape so we have something to collide with
2 Years Ago
Just return true in our layer filters for now because we obviously haven't set up layers yet
2 Years Ago
Impl SetLinearVelocity https://files.facepunch.com/layla/1b0511b1/sbox_0017.mp4
2 Years Ago
Temp disable player physics hull so we don't fly through the world
2 Years Ago
Impl GetCTransform
2 Years Ago
Impl aggregate instance GetRootTransform so we can start to sync jolt bodies to entities
2 Years Ago
Return all bodies as awake in StepEndReadOnlyGetResults for now
2 Years Ago
remove physics body GetUid - unused
2 Years Ago
Impl SetEntityHandle, GetEntityHandle, GetEntityID
2 Years Ago
Impl Get/Set AggregateInstance for body Impl body GetVelocity Impl aggregate instance add part etc Impl aggregate instance IsDynamic Impl aggregate instance GetOrigin Imp aggregate instance GetBodyHandle
2 Years Ago
Build bodies for aggregate but don't set shapes yet
2 Years Ago
Add managed handle to physics aggregate instance
2 Years Ago
PhysAggregateInstance stubs
2 Years Ago
Create temp allocator and job system so we can start to update the physics system
2 Years Ago
Add a empty mutable compound shape to new bodies
2 Years Ago
Few more null checks to get us into the game Edit jolt to not set position and rotation of body on creation (jolt bodies need a shape, which is really shit)
2 Years Ago
Don't assert in GetProfileStats - who cares
2 Years Ago
Add and release ref of aggregate data
2 Years Ago
Impl CreateAggregateDataFromDiskData
2 Years Ago
Return our surface property controller
2 Years Ago
Few null checks in places that are popping up while joining game with mostly unimplemented physics interface
2 Years Ago
Register default allocator for jolt, create factory, register types etc
2 Years Ago
Allocate managed handle after we init jolt physics system
2 Years Ago
Create a bullshit surface property manager for now Install surface property and phys data type managers
2 Years Ago
Get dependencies for jolt physics interface interface init, preshutdown, shutdown stuff