This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

Y Rotation Is Reseted For Duplicated Objects

Y Rotation Is Reseted For Duplicated Objects

Postby raisins » 18 Jul 2015, 15:58

Hey guys I found a bug. I had an object in my map with rotation settings: x90 y20 z0. I created a duplicate using shift + move. I got a duplicate but the Y rotation for it is reseted to 0.

Image

Thanks.
raisins
Skyline Apprentice
 
Posts: 35
Joined: 30 Jun 2015, 11:54
Skill: 3D Modeller
Skill: Programmer
Skill: Network guru

Re: Y Rotation Is Reseted For Duplicated Objects

Postby StarFire » 18 Jul 2015, 16:08

Hmm this should not happen :?:

We have tested it on our version and everything is working as expected, strange?
Q - Does it happen every time?
Q - How did you set the rotation, via the objects property or gizmo or translation panel?
Q - Has anyone else had this problem?

If we can get it to happen on our dev system then we can fix it for you ;)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Y Rotation Is Reseted For Duplicated Objects

Postby raisins » 18 Jul 2015, 16:15

Ahh! Try this to reproduce the glitch in your editor: rotate the object around X by 90, then rotate the object's Y to some degree then duplicate the object. It glitches only if you have X changed (90 in this case).
raisins
Skyline Apprentice
 
Posts: 35
Joined: 30 Jun 2015, 11:54
Skill: 3D Modeller
Skill: Programmer
Skill: Network guru

Re: Y Rotation Is Reseted For Duplicated Objects

Postby SolarPortal » 18 Jul 2015, 16:17

will give it a go :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Y Rotation Is Reseted For Duplicated Objects

Postby raisins » 18 Jul 2015, 16:20

Wait, I noticed something. The glitch doesn't happen when editing the rotation using the gizmo. It only happens when using the properties panel. So change X to 90 (using the panel) then use the Gizmo to rotate Y then duplicate the object.

Also, the glitch only happens if you use the properties panel to rotate the X, then use the gizmo to rotate the Y. It's as if the gizmo is not changing the Y rotation variable in the system.
Last edited by raisins on 18 Jul 2015, 16:26, edited 2 times in total.
raisins
Skyline Apprentice
 
Posts: 35
Joined: 30 Jun 2015, 11:54
Skill: 3D Modeller
Skill: Programmer
Skill: Network guru

Re: Y Rotation Is Reseted For Duplicated Objects

Postby SolarPortal » 18 Jul 2015, 16:24

i have managed to replicate the bug in our version using the properties panel to set the X to 90. Then use the gizmo to rotate to 20, but it should actually be saying -20. Which is why on duplicate, the object flips to its correct orientation.

Strange, something must be flipped in the code :shock:

Thank you for pointing this out :)

Edit: The gizmo only rotates if in Local mode otherwise it works on a world space rotation which doesnt change.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Y Rotation Is Reseted For Duplicated Objects

Postby raisins » 18 Jul 2015, 16:30

Thanks :D

My temporary solution is to use just 1 tool to rotate the object otherwise the variables will get confused. At first I used both: panel to rotate the X (I wanted a flat platform) and the gizmo to rotate the Y (I wanted the platform to face the water).

Edit: I see, I'll use local mode when working with this kind of stuff.

Thanks.
Last edited by raisins on 18 Jul 2015, 16:33, edited 2 times in total.
raisins
Skyline Apprentice
 
Posts: 35
Joined: 30 Jun 2015, 11:54
Skill: 3D Modeller
Skill: Programmer
Skill: Network guru

Re: Y Rotation Is Reseted For Duplicated Objects

Postby SolarPortal » 18 Jul 2015, 16:32

just make a quick test to make sure everything loads back ok, then continue :) you don't want to set everything up and it all come back messed up.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Y Rotation Is Reseted For Duplicated Objects

Postby raisins » 18 Jul 2015, 16:37

SolarPortal wrote:just make a quick test to make sure everything loads back ok, then continue :) you don't want to set everything up and it all come back messed up.


Cool, it works. I used world space to rotate X by 90, then I used local space to rotate Y by 20. I used both the gizmo and properties panel. The duplicate came out as expected - rotation X around 90, and rotation Y around 20.

So it's not really a glitch. :)
raisins
Skyline Apprentice
 
Posts: 35
Joined: 30 Jun 2015, 11:54
Skill: 3D Modeller
Skill: Programmer
Skill: Network guru

Re: Y Rotation Is Reseted For Duplicated Objects

Postby SolarPortal » 18 Jul 2015, 16:42

we will find some time to try and fix this, but a little busy atm as i am currently upgrading the Assimp importer for .x, .dae, .obj etc.. minus .FBX(different importer). These files now convert to usable material names instead of hashed numbers and need to be separated materials instead of one file.

Thanks again for finding these bugs :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest