0 likes | 4 Views
Three.js encodes 3D transformations using matrices for translations (position), rotations, and scaling. Every Object3D instance has a matrix that records the object's location, rotation, and scale. This page explains how to change the transformation of an item.
E N D
ThreeJS Matrix TRANSFORMATION www.tutorialandexample.com
Three.js encodes 3D transformations using matrices for translations (position), rotations, and scaling. Every Object3D instance has a matrix that records the object's location, rotation, and scale.
Convenience properties and matrixAutoUpdate There are two ways to update the transformation of an object: 1. Change the object's location, quaternion, and scale attributes, and three.js will recalculate the object's matrix 2. Directly alter the object's matrix. There are several methods for altering the matrix in the Matrix4 class