Game Development Community

Rotate a Group of Scene Objects without distortion?

by Aaron Scovel · in Torque X 2D · 09/04/2010 (10:51 pm) · 4 replies

I'm not sure if this is a bug, but when I select a group of objects and try to rotate them, they all get distorted.

Is there a way to rotate a Group of Scene Objects all at once without the distortion?

About the author

Previously a PHP/MySQL Programmer/Web Developer of 10 years. In Aug 2010 I decided to change careers, and this is were I landed! I also parent 3 kids full time. TopNotched.com


#1
09/05/2010 (1:37 pm)
How are you rotating them? Are you wanting to rotate them in the game?
#2
09/05/2010 (7:22 pm)
Do you have your builder set up correctly? It sounds like your design resolution does not match your camera. if you are working in widescreen 1280x720 you need to set the design resolution to match.

edit->preferences

Right above the rainbow grid color thing set the Design Resolution to match your output.

Make certain the camera is also similar. I use 1280x720 for DR to match the xbox. set my camera to 128x72. In the torqueSettings.xml file set it like this:

<WindowsGraphicsManagerSettings>
    <PreferMultiSampling>false</PreferMultiSampling>
    <PreferredBackBufferHeight>720</PreferredBackBufferHeight>
    <PreferredBackBufferWidth>1280</PreferredBackBufferWidth>
</WindowsGraphicsManagerSettings>
<XboxGraphicsManagerSettings>
    <PreferMultiSampling>false</PreferMultiSampling>
    <UseDisplaySizeForBackbuffer>false</UseDisplaySizeForBackbuffer>
    <PreferredBackBufferHeight>720</PreferredBackBufferHeight>
    <PreferredBackBufferWidth>1280</PreferredBackBufferWidth>
</XboxGraphicsManagerSettings>
#3
09/05/2010 (11:18 pm)
Thanks Guys, I should have been a little more clear. The problem is while in the actual editor.

To reproduce the object distortion glitch, select a few objects on your scene, then in the Edit tab, under "Selected Object Set" change the Rotation. It will then rotate your objects to the degree you choose, but once you click away/unselect them they all become distorted (width and height automatically changes to some "random" value on all the objects).
#4
09/06/2010 (7:43 am)
That might happen (not all the time... strange) when your design resolution (in the builder options) doesn't match your camera extent.