()
This commit is contained in:
@@ -42,10 +42,10 @@ public class PhysicsProcess implements AsyncProcess{
|
|||||||
|
|
||||||
if(entity.physref == null){
|
if(entity.physref == null){
|
||||||
PhysicsBody body = new PhysicsBody();
|
PhysicsBody body = new PhysicsBody();
|
||||||
body.x = entity.x();
|
body.x = entity.x;
|
||||||
body.y = entity.y();
|
body.y = entity.y;
|
||||||
body.mass = entity.mass();
|
body.mass = entity.mass();
|
||||||
body.radius = entity.hitSize() / 2f;
|
body.radius = entity.hitSize / 2f;
|
||||||
|
|
||||||
PhysicRef ref = new PhysicRef(entity, body);
|
PhysicRef ref = new PhysicRef(entity, body);
|
||||||
refs.add(ref);
|
refs.add(ref);
|
||||||
|
|||||||
Reference in New Issue
Block a user