Game Development Community

1.5.1] setSize broken

by Marc Dreamora Schaerer · in Torque Game Builder · 08/03/2007 (2:54 am) · 1 replies

Right now it seems that either setSize or the general in object handling is broken.

When you use the setSize command on an object while scaled object (in the editor scaled) are within the scene, those scalings seem to be applied to your object as well.

Looks like the transformation is not correctly reset.


To replicate that, you can use the MouseSelector behavior on the TDN.
Without scaled, the rect will work correctly.
But with a scaled asteroid or anything, its size will massively explode.

Remove the scaled objects again from the scene and it works again correctly.


EDIT:

ok funny, now it works again ... I've definitely no idea whats going on.
Something bound to object init order on level startup?
Something bound to paths? (originally appeared while I tested on the LoD error thread)

I will further test to see if I can find a "stable" way to reconstruct this issue as it would be deadly if the selection rect breaks just for no reason when a real game is started.

#1
08/03/2007 (11:51 am)
Would be great to get a repro case, especially with an image or two if possible. Thanks for spending the time :)