Another possible bug with rotation in 1.8.2?

Started by osh307 on Sun, 02/03/2019 - 01:58

Topic category: Bugs and solutions

Last seen on 22:36, 28. Jun 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Another possible bug with rotation in 1.8.2?
Sun, 02/03/2019 - 02:26 (edited)

I apologize if this is a duplicate but I spent a few hrs going through all the bugs posts for rotation and didn't find anything relating to what I'm seeing.

So, I have a procedure that is called on right-clicking a block (the middle block in the image below), this procedure checks the blocks next to it;

blocksetup1

Now, the above setup works, you right-click the middle block and the procedure does its check and then it opens the GUI I have set to open.

The middle block has the new rotation option set so when you place it, it faces towards you (like a furnace).

Now, the check was achieved by the following procedures. I have 4 of these checks total for checking the blocks on the different directions (because the middle block and be placed facing the 4 cardinal directions).

blockcheckprocedure1

blockprocedure2

blockprocedure3

blockprocedure4

It turns out, only one of these procedures works, and I think I know why.

The block I have a check for (the one in the picture to the right) also has the new block rotation option set on. When it does the check, I think it's looking for the block with the default rotation, and because the block is not in its default rotation, the check = false even though the block is actually correct.

finalsetup

Hopefully that all makes sense. (If I'm doing something wrong, pls tell me.)

Edited by osh307 on Sun, 02/03/2019 - 02:26
Last seen on 15:50, 21. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need to check in both +1…
Sun, 02/03/2019 - 10:38

You need to check in both +1 and -1 directions for this to work.

Last seen on 15:50, 21. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
And this is not even related…
Sun, 02/03/2019 - 10:38

And this is not even related to the actual block rotations as global coordinates stay the same no matter the block orientation.

Last seen on 22:36, 28. Jun 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In response to your first…
Sun, 02/03/2019 - 23:03

In response to your first reply, I believe I am checking in both the + & - directions on all the axies.

In response to your second reply, That is what I thought, the coordinates are the same no matter which way the block is facing.

To help show the possible issue, I made a quick video to show what it's doing in real time (and you should be able to reproduce the setup if needed for testing).

https://youtu.be/TAWQS9qFr7g

As you can see in the vid, the procedures work when it's a block without the rotation enabled,  but when a block is used with the rotation enabled it just doesn't work.

It just doesn't make sense to me...

Thanks for your replies though, I'll just keep trying till I stumble upon what I'm doing wrong.

Last seen on 22:36, 28. Jun 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For some reason, there was a…
Mon, 02/04/2019 - 04:45

For some reason, there was a small clip missing from the original video.

Please have a look at the missing bit here;

https://youtu.be/M6IWOtb6aQM

I think this small clip highlights that there is indeed something fishy going on with block rotation.

Last seen on 15:50, 21. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Open a support ticket here:…
Mon, 02/04/2019 - 17:22

Open a support ticket here: https://mcreator.net/tracker and attach your example workspace please, so I can replicate this bug faster. Thanks!

Please reference this forum topic in it too so I can connect this together :D

Last seen on 15:50, 21. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I will try to find a cause…
Mon, 02/04/2019 - 17:23

I will try to find a cause for this and a potential fix.

Last seen on 22:36, 28. Jun 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A support ticket has been…
Mon, 02/04/2019 - 20:29

A support ticket has been created.

The workspace I used in the video to show this issue was attached as requested.