Hello, I was wondering how to create a new object from a function call?
By this I mean if I call foo() from a script, that should return a new instance of an object. If I call foo() again, it should be a new instance of an object as well. I haven't been able to find any good examples from the code I've been reading. Does anyone know of a good place to find an example? thanks