Object Rotation...Wonky

Tuesday, January 13, 2009 by sViz | Discussion: DesktopX

Loaded up some old themes and the rotating objects keep shifting around. Loaded up an old analog clock widget and it keeps sliding around. Created a new object with simple rotation on timer and it keeps drifting back and forth...back and forth...back and forth...

'Tis really bizarre. Anyone else have this problem? 

vStyler
Reply #1 Tuesday, January 13, 2009 7:00 PM

Any DX object I load jumps around my screen when i do certain other things like minimizing windows etc.

Pretty much why I dont use it.

sViz
Reply #2 Tuesday, January 13, 2009 9:59 PM

I heard about that. It's rather unfortunate DX is behaving so erratic.   Anyone on the Stardock team know what the problem is? 

ViperWorm
Reply #3 Thursday, January 29, 2009 9:02 PM

Yeah, I have the same problem. It's really frustrating since .Rotation was one of my favourite things and just as I started having some great ideas with rotation it stopped working properly... I really hope this problem gets fixed soon

ZubaZ
Reply #4 Thursday, January 29, 2009 9:13 PM

Make sure you send an email to [email protected] so they can track these things.

And the more detail you can provide tthe better (ccode snippets, screenshots, etc)

PuterDudeJim
Reply #5 Thursday, January 29, 2009 9:39 PM

I am not seeing this. Are we talking of the option to rotate the object in the object properties dialog? Or an object that rotates via script? I have used the option to rotate an object several times with no problems. 

Lumic
Reply #6 Thursday, January 29, 2009 11:53 PM

Ditto with PDJ. I have tried out rotation and it works. More info needs to be provided.

Littleboy
Reply #7 Friday, January 30, 2009 1:42 AM

Isn't it the same regression as posted here. If so, it's already been reported by at least a few people (but one more won't hurt ). Broken since 3.5. Worked fine in 3.1 and maybe 3.2.

 

ViperWorm
Reply #8 Friday, January 30, 2009 3:34 AM

Vad_M:

I had a lot a problems with this because DesktopX work incorrect with any rotating objects. Seems It lost a centar... So I made complicated code which calculate the rotating angle through geometry formulas and then apply these angle to the object. Now my controls rotate around the center without any bugs. Let me know if you need this code.

Seems that Mr. Vad_M did us all a favor and coded a solution to that problem that apparently fixes the issue completely.

But still it would be a whole lot easier if the problem got fixed...

Even scripts this simple will wobble the object:

Code: vbscript
  1. Sub Object_OnTimer1
  2. Object.Rotation=Object.Rotation+1
  3. End Sub

The error appears to be not in the rotation axis (since spin itself is correct) but rather that dx is not anchoring the object to its center, apparently it's using object's 0,0 point as an anchor when it comes to re-positioning the rotated object.

Lumic
Reply #9 Friday, February 6, 2009 5:54 AM

That might be because you have left the object to align to "left" and "top". DesktopX will use those alignments. Change alignments to vertical & horizontal "center" and try it.

sViz
Reply #10 Friday, February 6, 2009 9:41 AM

Change alignments to vertical & horizontal "center" and try it.

Same deal. It only works correctly when it's a child object.

Lumic
Reply #11 Friday, February 6, 2009 6:37 PM

Ahh...I understand sViz. I used to rotation as an animation on a child object.

CerebroJD
Reply #12 Friday, February 27, 2009 1:47 AM

This is funny, I *just* found this error like two days ago.  Certainly is a different effect...

RomanDA
Reply #13 Monday, March 2, 2009 9:45 PM

try making a MASTER object, soemthing like a box, and put the object you want to rotate in it, then see if the rotation works, make the object a CHILD of the master.  Who knows.

 

Just tried this and it seems to work.. make sure the rotating object is set to CENTER/CENTER...

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01