jiweigang1 Posted July 9, 2014 Share Posted July 9, 2014 when i use this method setPhysicsState , i cant change the posisiton of meshs i createand scene.beginAnimation does not work any morewahts wrong with it ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 9, 2014 Share Posted July 9, 2014 Nothing Physics objects cannot be controlled using position or animations. You have to use mesh.applyImpulse() Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 9, 2014 Share Posted July 9, 2014 or mesh.moveWithCollisions(); GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 9, 2014 Share Posted July 9, 2014 Physics and collisions are not exactly the same things Quote Link to comment Share on other sites More sharing options...
jiweigang1 Posted July 10, 2014 Author Share Posted July 10, 2014 can i change the physics objects to normal objectsso that i can control them with position and animations ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 10, 2014 Share Posted July 10, 2014 Then do not use setPhysicsState Quote Link to comment Share on other sites More sharing options...
jiweigang1 Posted July 11, 2014 Author Share Posted July 11, 2014 i use setPhysicsState(BABYLON.PhysicsEngine.NoImpostor);and it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.