fix server collision resolution on second body
This commit is contained in:
parent
c32263675a
commit
d3769a43d4
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user