- 710 名前:デフォルトの名無しさん mailto:sage [2007/11/15(木) 02:52:49 ]
- >>709
root : BranchGroup | spin : TransformGroup | | sphere : Sphere | | rot : RotationInterpolator | | cube : ColorCube(*) | rotateGroup : TransformGroup | | cube : ColorCube(*) | bg : Background | light : AmbientLight (*)が同じものなので木構造にならずエラーを起こす。 root.removeChild(spin); rotateGroup.addChild(spin); //rotateGroup.addChild( cube ); root : BranchGroup | rotateGroup : TransformGroup | | spin : TransformGroup | | | sphere : Sphere | | | rot : RotationInterpolator | | | cube : ColorCube | bg : Background | light : AmbientLight で、とりあえず球とキューブが一緒に回転するようにはなると思う。
|

|