Hi everyone,
I use a collection factory to spawn a collection/tree of game objects. To reuse the collection on the left and right side of my screen, i use a scale vector of e.g. (-1, 1, 1) within my factory.create function to get a horizontally flipped copy of my collection. that works fine.
However, during runtime, I need to rescale that objects (on window resize). When using
go.set_scale with vector with negative components I get
Vector passed to go.set_scale contains components that are below or equal to zero
When I use go.set(url, “scale”, vmath.vector3(-1,1,1)), it works.
What is the difference? I would expect that go.set_scale is just a convenience function wrapper for go.set. Am I wrong?