[BUG] Rotation is wrong

Archives of technical help for Cubik LITE and Cubik PRO

Now help is given on Cubik Studio forum: https://cubik.studio
User avatar
42 Posts
 x 0

Post 23 Mar 2014, 18:19

I found this out when trying to do my 'bed'.

The texture rotation is going the wrong way.

Now the bed texture by default is on its side, pillow on the right. It needs to be 'rotated' so it aligns properly.

For example...
http://images.devs-on.net/Image/OzrzN6E ... Region.png
That one in the editor is the proper rotation it needs to show on the bed right, that SHOULD be 90, but instead it comes out as
"rotation": 270,
So in game, it's taking the texture from the bedsheet... thus the texture is upside down.

http://images.devs-on.net/Image/tgjDaeu ... Region.png
That one is the 'wrong' rotation viewed in in the editor, but is coming out as the proper 90, that one should be 270. In game, the texture is facing the proper direction and uved to the pillow.

So 90 should should make the texture be upside down
270 should should make the texture be right side up.

There switched in the editor.
User avatar
BDcraft Admin
2180 Posts
 x 15

Post 24 Mar 2014, 06:39

Good catch. I will fix that for next version ;)
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?