Sign in to follow this  
George3D

[Solved] PhysicsImpostor

Recommended Posts

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?
 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.