user1871528
user1871528

Reputation: 1785

three.js camera matrix position

when one writes

camera.position.z=100

which matrix gets updated?

because i do not see any changes in

camera.matrix, camera.matrixWorld, or camera.matrixWorldInverse

Also, this updates the camera's position locally correct? If so how can you updated it globally?

Upvotes: 2

Views: 727

Answers (1)

mrdoob
mrdoob

Reputation: 19602

All these matrices get updated. But only at render time.

Upvotes: 1

Related Questions