three.js - Remove a group from scene -


I am using three.js, and I have created a group and inside another group

  pgrupo = new array (); Fgrupo = new array (); Scene.add (pgrupo [0]) pgrupo [0] .add (fgrupo [0]): pgrupo [0] .add (fgrupo [1]):   

How can I remove Am I a FGP from the scene?

If I use it:

  scene.remove (fgrupo [0]);   

or

  scene.remove (pgrupo [0]);   

Nothing happened How can I remove these things from this view?

Instead of using arrays and more. () And .remove () methods.

Then

  pgrupo = new THREE.Object3D (); Fgrupo = = New three. Object 3D (); Scene.add (pgrupo);   

Also the method. The child gives you an array with the object's children.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -