kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten
Other
4.18k stars 559 forks source link

setWindVelocity unavailable #235

Open BabylonJSGuide opened 5 years ago

BabylonJSGuide commented 5 years ago

In a working softbody example I have written (using Babylon.js) I have tried adding mySoftBody.setWindVelocity(btVector3) but get the message setWindVelocity is not a function of mySoftBody. Does this mean that setWindVelocity is not available in Ammo.js or am I doing it wrong?

bigmistqke commented 5 years ago

Bump Looking for a way how to add windforce to my softbody. setWindVelocity is not recognized and addAeroForceToNode when looping through the nodes doesn't seem to impact anything either.