Skip to content
xkp edited this page Sep 21, 2011 · 1 revision

Overview

This class is used as a positional helper, it is an object3d that has no geometry at all. You can use it to control the position/rotation/scale of its children by modifying his.

Usage

<transform id="container">
   <cube id="cube1" ...>
   <cube id="cube2" ...>
</transform>

by doing:

container.position.x += 100;

both cubes will move.

Clone this wiki locally