The Daily Click ::. Forums ::. Klik Coding Help ::. Object Scale Adjustment.

Post Reply  Post Oekaki 

Posted By Message

-Dark Martin-

The dark is most certainly not your friend


Has Donated, Thank You!KlikCast StarSonic SpeedWii Owner360 Owner
9th October, 2009 at 13:19:40 -

Kinda confused about scaling objects; when i try and make an object shrink beyond its normal size it just dissapears; so then i try having it shrink by 0.1 and it still just vanishes.

Any suggestions

I just want the object t slow vanish as if its flying of into the distance.

Edited by -Dark Martin-

<a href="¤t=signature_stripcopy.png" target="_blank">Image


What a goofball


KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th October, 2009 at 14:07:41 -

Try Set Scale to XScale of Object * 0.9. If you want it to be more gradual try 0.99 or 0.95 and if you want it to be faster try 0.8, etc.



Jon Lambert

Vaporware Master


VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
9th October, 2009 at 14:41:18 -

Yeah, that code says -0.1, and you can't have a negative scale. -0.1 is not the same as what OldManClayton said, which is XScale-0.1, so yeah.

Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.


9th October, 2009 at 15:08:20 -

Originally Posted by -Excalibur Martin-
Kinda confused about scaling objects

Here's how it works:

1 is actual size. 2 is double size. 0.5 is half size.

I do wish we could "set width" and "set height" BY PIXELS. There's an extension that does this I believe.
Hope this helps.



9th October, 2009 at 22:19:39 -

Well instead of negative one, try making it relative to the object :

XScale( "Active object 5" )-0.01

Try it!

Edit: looks like it's already been solved, I should read the previous posts more often.

Edited by 0ko


Post Reply



Worth A Click