mrdoob/three.js — Issue #1202: Rotation property of child objects inside a Collada Scene not working...
Author: jayfield1979
Created: 2012-01-27 21:41:55+00:00
State: open

Hey,

Below are snippets of code from my experiment and I have found something odd:

```javascript
mesh1 = collada.scene;

function animate() {
var door = mesh1.getChildByName("node-door1", true);
//WORKS
door.position.y += 0.01;
//WORKS
door.scale.x += 0.001;
//DOESN'T WORK
door.rotation.y += 0.01;
//WORKS
mesh1.rotation.y += 0.01;
}
```

Any ideas why position and scale work but rotation doesn't? You can rotate the Collada scene but not objects within it!