Ahiru Posted September 26, 2015 Share Posted September 26, 2015 I saw, that cannon.js has a lot of the properties I would need (like velocity, angularDamping, applyLocalImpulse ... etc) : http://schteppe.github.io/cannon.js/docs/classes/Body.html But how can I access them, once I have set the PhysicState? Quote Link to comment Share on other sites More sharing options...
Temechon Posted September 26, 2015 Share Posted September 26, 2015 Hi Ahiru, setPhysicsState returns the CannonJs body : https://github.com/BabylonJS/Babylon.js/blob/master/src/Physics/Plugins/babylon.cannonJSPlugin.ts#L194 You can then use it as will. Ahiru 1 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.