Hi everybody,
I want to move a boxMesh with applied cannon.js imposters on key down.
The result i want to achieve is that the box is moving into the direction it is facing. (like a simple car/character movement).
Playground example: https://www.babylonjs-playground.com/#2CRZWS#3
Without the applied imposters i would go with position and rotation but this attributes seem to be overwritten by the physic engine.
Enclosed a basic playground setup where i try to achieve that effect: Babylon.js Playground
Can anyone point me into the right direction?
I am more the three guy… so first time Babylon and i struggle with the physic API a lil… nevertheless it looks like a really nice framework. Very cool… Thx a lot.