Jump to content

immovable for p2


robin0707
 Share

Recommended Posts

Actually, I think it's more:

this.body.kinematic = true;

 

With this, the body can't be moved by any other bodies. The only way to move the object become "this.body.velocity.x = value" (or velocity.y of course).

 

Edit: You could move the kinematic object by setting it's coordinates (x,y) but it won't physicaly react as expected.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...