Page 1 of 1

Transform error

Posted: 22 Jun 2021, 03:50
by Dave Nelson
If the camera is one side of a lite boundary and the object to be transformed is on an adjacent tile a change to either the x or z axis values will cause the object to move to the tile where the camera is located before applying the transform. The practical effect is the transformed object seems to have disappeared, especially so if the destination location on the camera tile is underground.

This can be easily corrected by making the transform occur on the objects own tile instead of that of the camera. Of course if the transform carries it past the 1024 line then the tile id must also be transformed.

I do not know if the problem occurs on vertical transforms.

Re: Transform error

Posted: 22 Jun 2021, 07:04
by eolesen
Yep, I've experienced this also when copying pos, rot, and pos+rot.