Assume I have a simple Physijs object like this car. How can I adapt something like this to "jump" (hydraulics ftw!) when pressing spacebar for instance?
I'm currently thinking
applyCentralImpulse should come into play.
Well, the documentation is apparently non-existent at this point, but searching the source yields the following:
So, create a vector pointing up,
Alternatively, you can use