Page 1 of 1

Units scaling

Posted: 27 Sep 2011, 20:10
by LaRiKa
Hey guys,

I think some of you were facing the same problem we do, now.

I took the Spring tutorial game, created a nuew vehicle unit, did the scripting, the texturing, the modification of the builder and all works fine except one:

My unit looks like a RC version of my unit, it is 10 times smaller than it should be. What do I have to do to get it the size I want to have? Is there a way to tell the engine by script it should scale the unit?

Another thing is: My wheels are spinning around the X-Axis of the car, not around it's own X-Axis. So they are looping in the air und then underground. Did we forget something in upspring in order to make them work correctly or is the command Spin(tire,x_axis,rad(90),rad(30)) not correct?

Thanks in advance,

LaRiKa

Re: Units scaling

Posted: 27 Sep 2011, 20:27
by smoth
Nope, you can scale in upspring fine. However, if you say did this:

Scale:
X 1
Y 1
Z 4

You will mess up your normals.

Always scale evenly on all axis otherwise scale before you import to upspring.

Set the origon point of the wheel.

Re: Units scaling

Posted: 27 Sep 2011, 21:05
by Beherith
Also, for me it seems that if I uniform scale by less than 0.5, I also get bad normals.

And yes, you should set the origin point in upspring. Good Luck!