Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applyImpulse to object: vector: NaN ? #325

Open
spikethea opened this issue Jun 14, 2020 · 1 comment
Open

applyImpulse to object: vector: NaN ? #325

spikethea opened this issue Jun 14, 2020 · 1 comment

Comments

@spikethea
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant