Hi, Can someone show me an example of creating a group of scene object to manipulate. How to add them to a group, etc... (SceneObjectGroup, sorry)
SceneGroupObject
MaineMathMan February 17th, 2019
All 2 Comments
Gio February 17th, 2019
Hi
If you want to do this in code, just put your scene objects into an array and pass that array to the SceneObjectGroup constructor
var myObjects = [obj1, obj2, obj3];
var my Group = new SceneObjectGroup(myObjects);
From the editor you can select multiple objects (holding shift or ctrl), then in the bottom right area of your screen you'll see a button to create a SceneObjectGroup with them.
MaineMathMan February 27th, 2019
Thank you for a thorough answer!
Post a reply
Add Attachment
Submit Reply
Login to Reply