Commit fbd059e5 authored by honingwon's avatar honingwon

1

parent 4ade1232
...@@ -5,7 +5,7 @@ export default class Body extends Sprite { ...@@ -5,7 +5,7 @@ export default class Body extends Sprite {
this.texture = TextureCache[props.display || 'box']; this.texture = TextureCache[props.display || 'box'];
this.restitution = props.restitution || 1 this.restitution = props.restitution;
this.velocityX = this.initialVelocityX = props.initialVelocityX || 0; this.velocityX = this.initialVelocityX = props.initialVelocityX || 0;
this.velocityY = this.initialVelocityY = props.initialVelocityY || 0; this.velocityY = this.initialVelocityY = props.initialVelocityY || 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment