Jump to content

moveWithCollisions 2.1-beta


Recommended Posts


After updating to version 2.1-alpha, stopped working moveWithCollisions. In new version this is a bug or moveWithCollisions work differently. (Go back to version 2.0 I can't, there's another bug)


forward = new BABYLON.Vector3(parseFloat(Math.sin(parseFloat(meshPlayer.rotation.y))) / speed,0.01,parseFloat(Math.cos(parseFloat(meshPlayer.rotation.y))) / speed);forward = forward.negate();meshPlayer.moveWithCollisions(forward);

Live demo http://playground.babylonjs.com/#1NQTNE

Please help me solve this problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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