Author Topic: [No-Fix]movement when rotating  (Read 1204 times)

0 Members and 1 Guest are viewing this topic.

Offline mobius

  • Posts: 2754
  • relax.
    • View Profile
[No-Fix]movement when rotating
« on: November 19, 2017, 05:46:01 PM »
a very low priority bug;

When rotating some pieces in the editor; they move very gradually to the left. I noticed this with the triangular and pillar end pieces from original Pillar set. But the wooden planks don't seem to do this.
« Last Edit: July 16, 2018, 08:16:24 PM by Nepster »
everything by me: https://www.lemmingsforums.net/index.php?topic=5982.msg96035#msg96035

"Not knowing how near the truth is, we seek it far away."
-Hakuin Ekaku

"I have seen a heap of trouble in my life, and most of it has never come to pass" - Mark Twain


Offline Nepster

  • Posts: 1829
    • View Profile
Re: movement when rotating
« Reply #1 on: November 19, 2017, 06:07:49 PM »
When determining the position of a piece that got rotated around its center, one has to round the piece position, if either the width or the height of the piece is odd. What you encountered is, that a piece moves slightly if these "rounding unprecisions" accumulate.

I don't think there is any good way to solve this issue without adding a lot of code. So I would simply say: Don't rotate too much :P