How to add properties to a collada.scene?


I want to use a collada.scene and add properties on it like an object or an object3D with userData but I did not figure it out.

How can I do that ?

Thank you.

Try it like demonstrated in this fiddle:

collada.scene is of type THREE.Group. So you can use .userDate in order to store custom properties.


Thanks a lot !
It works !