re-enable non-static, non-body collidables
This commit is contained in:
parent
1e113d8598
commit
ff0c3c099a
@ -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()){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user