Search⌘ K

Helper Objects and Util Functions

Learn to use helper functions and objects that aid in positioning, rotation, and orienting meshes.

Helper functions and objects

We’re going to quickly introduce a couple of helper functions and objects. These helpers make it easier to position objects and see what is happening in a scene. The easiest way to see this in action is to open the porsche.js example in the below playground and see the output in the browser: 

Porsche example with helper 
Porsche example with helper 

On the right-hand side of the screen, at the bottom of the menu, we will see three buttons in the controls: “Toggle AxesHelper”, “Toggle GridHelper”, and “Toggle PolarGridHelper”. When we click on any of them, Three.js will add an overlay to the screen that can ...