Closed indiebubbler closed 4 years ago
THREE supports .translate method that could be used to reposition objects according to their local orientation (ie. move forward, up, left/right etc). Is there a way to achieve this same effect for cannon bodies?
Nevermind, I've achieved desired effect by applying pattern from translateOnAxis method found here: https://github.com/mrdoob/three.js/blob/dev/src/core/Object3D.js
THREE supports .translate method that could be used to reposition objects according to their local orientation (ie. move forward, up, left/right etc). Is there a way to achieve this same effect for cannon bodies?