mrdoob/three.js — Issue #1238: scene.add and scene.addObject
Author: aphex-
Created: 2012-02-02 17:05:20+00:00
State: open

Hello,
first I want to thank everybody who is involved in this great API. I realy like to work with three.js and its increasing the fun of WebGL
to me. I am currently writing a little game with a JSON model. I use 'scene.addObject(mesh)' within the callback-function of a
THREE.JSONLoader to add the model to the scene. Everything works fine, but I am not able to change the position of the mesh within the animate function (taken from the examples) or anywhere else. It seems to me that this is a behavior of the scene.addObject function. Meshes that I have added with scene.add are movable and rotatable, but using this function on a mesh that is loaded out of a JSON-file does not work.