fix server collision resolution on second body

This commit is contained in:
austin 2025-05-28 14:00:02 -04:00
parent c32263675a
commit d3769a43d4
2 changed files with 2 additions and 1 deletions

View File

@ -2021,6 +2021,7 @@ Fix standard uniform buffer interaction with actor panel
Fix foundation generation for structures in chunkgen Fix foundation generation for structures in chunkgen
Body synchronization includes enabled state Body synchronization includes enabled state
Fix upright tree continuously re-enabling bodies Fix upright tree continuously re-enabling bodies
Fix server collision resolution never triggering for second body

View File

@ -540,8 +540,8 @@ public class CollisionEngine {
); );
CollisionEngine.resolveCollision( CollisionEngine.resolveCollision(
contact.geom, contact.geom,
c1,
c2, c2,
c1,
PhysicsUtils.odeVecToJomlVec(contact.geom.normal), PhysicsUtils.odeVecToJomlVec(contact.geom.normal),
PhysicsUtils.odeVecToJomlVec(contact.fdir1), PhysicsUtils.odeVecToJomlVec(contact.fdir1),
PhysicsUtils.odeVecToJomlVec(contact.geom.pos), PhysicsUtils.odeVecToJomlVec(contact.geom.pos),