George3D Posted March 14, 2017 Share Posted March 14, 2017 I have always used "setPhysicState" to set physics properties of objects, in many projects. Meanwhile I read it's better to use "new BABYLON.PhysicsImpostor" instead. Why should that be better? What are advantage and disadvantage? Quote Link to comment Share on other sites More sharing options...
Hans Posted March 14, 2017 Share Posted March 14, 2017 I think "setPhysicState" ist deprecated. See here: Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 14, 2017 Share Posted March 14, 2017 This was done because the physical system has been updated and to simplify certain function have been deprecated. New tutoriel: http://doc.babylonjs.com/overviews/using_the_physics_engine The listing is here with the new function https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/what's new.md#breaking-changes Quote Link to comment Share on other sites More sharing options...
George3D Posted March 14, 2017 Author Share Posted March 14, 2017 Ok, thank you for informations, so I better change my Code. 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.