Parent actor's rotation does not apply to children, but does apply to grandchildren #7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason, the position of the
child-actor
in(wh-engine:register-test-scene)
is not affected by the rotation of its parent, but the position ofgrandchild-actor
is affected bytest-actor-2
's rotation. I'm not sure if this applies just to rendering or to all transformation-related calculations, but I think the bug is in one or more of these:(
ac990359cb
is the commit that revealed the full weirdness of this bug, but rotation was never being applied properly to thechild-actor
's location.)Took a second look at it just now, and... this is what happens when
test-actor-2
rotates. What the hell is this.OH THE MATRIX MULTIPLICATION WAS JUST THE WRONG WAY AROUND