Three.js 003Transform Objects
Summary
- Added
Group
instances and assigned cubes to them. - Set position with
group.position.x(.y,.z)
- Set scale with
group.scale.x(.y,.z)
- Set position with
group.position.set(x, y, z)
- Set rotation with
mesh.rotation.x(.y)
andmesh.rotation.reorder()
mesh.position.normalize()
mesh.position.length()
mesh.position.distanceTo(camera.position)
- Added
AxesHelper
Loading...