Object Rotation...Wonky

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? 

5,638 views 13 replies
Reply #1 Top

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. X|

Reply #2 Top

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

Reply #3 Top

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 :pout:

Reply #4 Top

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)

Reply #5 Top

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.  <_<

Reply #6 Top

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

Reply #7 Top

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 :typo: ). Broken since 3.5. Worked fine in 3.1 and maybe 3.2.

 

Reply #8 Top

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.

Reply #9 Top

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.

Reply #10 Top

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

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

Reply #11 Top

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

Reply #12 Top

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

Reply #13 Top

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...