satguru Posted December 7, 2016 Share Posted December 7, 2016 Not sure I understand this well. As per my understanding applyImpulse takes two variables The first variable is the direction and amount of impulse to apply. The second is where on the body itself the force will be applied. This as per documentation here http://doc.babylonjs.com/overviews/Using_The_Physics_Engine#further-functionality-of-the-impostor-class Now consider the following example http://www.babylonjs-playground.com/#26LQEZ#32 here I am applying a small impulse at the center of sphere and it moves slowly as expected. But now comment line 31 and un-comment line 32 and run. In line 32 I am applying a force at a point which is not on the sphere at all. You would think the sphere would not move at all but instead it does move and moves with high speed. How come? Quote Link to comment Share on other sites More sharing options...
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.