Game Development Community

Scalling objects

by Marcos Andr · in General Discussion · 11/17/2007 (4:54 am) · 2 replies

Hi people:

How can I change the scale of the player shape on the FPS starter? How can I change the scale for other dts objects? For example: Weapon, buildings , etc ?

I haver reared about obj.scale() function, but , how should I use it ?

#1
11/18/2007 (5:31 am)
I'd recommend putting it in the objects onAdd function.

You can then use it like this:
%obj.setScale("2 2 2"); //Twice it's original size
#2
11/19/2007 (8:56 am)
You can also change the scale (to look at it and see what it will be like) in the World Inspector (if it's permanent though, best to go with the method Caleb mentions).