chandlerprall / Physijs

Physics plugin for Three.js
MIT License
2.75k stars 455 forks source link

applyImpulse to object: vector: NaN ? #325

Open spikethea opened 4 years ago

spikethea commented 4 years ago

When I apply a impulse force to my cube object. the cube disappears. console logging shows that as soon as applyImpulse is added that the vector of the object becomes NaN.

heres the line

         cube.applyImpulse(1, new THREE.Vector3( 0.1, 0, 0 ))
spikethea commented 4 years ago

Also, why is there such a lack of documentation for this? Is physijs rarely used nowadays?