re-enable non-static, non-body collidables

This commit is contained in:
austin 2025-06-04 12:00:35 -04:00
parent 1e113d8598
commit ff0c3c099a

View File

@ -625,7 +625,10 @@ public class PhysicsEntityUtils {
}
Collidable collidable;
double mass = 1.0f;
long categoryBit = Collidable.TYPE_STATIC_BIT;
long categoryBit = Collidable.TYPE_CREATURE_BIT;
if(physicsTemplate.getKinematic()){
categoryBit = Collidable.TYPE_STATIC_BIT;
}
CollisionEngine.lockOde();
DGeom geom = null;
switch(physicsTemplate.getType()){