Just a quick question: What is the best way to use controls?
- Add a control to a spatial
- Add a control to the rootNode. The control will then attach a spatial to the node.
Thanks,
Ev1lbl0w
Just a quick question: What is the best way to use controls?
Thanks,
Ev1lbl0w
The first way.
I’m not sure why you’d want to add behaviors to the root node. Think of controls like “extending” a spatial using composition instead of inheritance. There is no good reason to extend the functionality of root node.
@pspeed thanks for the reply! I started to get a little confused because I use the SkyControl plugin, and I should only attach the SkyControl to the rootNode to create the sky, not to a spatial. Thanks!
Yeah, sky control is a little odd.