Game Development Community

Problems with scaling object in game

by LukeSkywalker715 · in Artist Corner · 03/06/2008 (10:11 am) · 1 replies

Hey guys,
We'll I'm very new to this stuff and right now just have a very basic understanding
of game engines and 3d design. I have always wanted to be a video game designer
and im psyched about purchasing the torque engine, it is simply amazing.

Anyways, I had a question about the player or the orc looking thing.
I made a new mission and used the beginning AI tutorial to make a bot.
Then I click on bot and make its scale bigger.

Is it just me, or can you only scale the orc to a certain size.
Everytime i try and scale it over 180 the engine crashes.

I can scale the building to like over 400 and its fine.

Is it because its a .dts thing ? Or is this just a limit built into the player library/class ???
If it is a limit, is there a way to fix this ?


and ya first post, so i wasn't exactly sure where to put this
but sounded like a 3d modeling problem, sorry if in wrong section haha


thanks for any advice and/or tips :D

About the author

Recent Threads


#1
03/08/2008 (11:35 pm)
If you play my game (see my profile), you will see that I have some experience with scaling in Torque. :-)

If you want to scale something, it is much, much better to do it outside of Torque/Mission Editor. I found that scaling via the mission editor (or script) introduced a LOT of overhead, and slowed things down immensely.

So the best place to do it is in the source for either the player model or the interior editor for the room, and then leave it all 1 1 1 in Torque, or thereabouts. A little tweaking isn't a big deal, but 180x or 400x definitely is a problem, as you discovered.

Also, when it comes to players/vehicles in particular, there are some absolutes when it comes to scaling. I ended up reducing the size of all my airplanes by 2/3 because I got an extra 10fps out of the deal (out of 30fps or so, that was a big deal!).

You will not want to do any massive scaling changes on your player model. I would question your need to do so, however. Is that really necessary? I'm not saying I haven't thought of situations where it would be necessary, but it does seem unlikely. To fix those issues you would have to delve into the source pretty seriously, I think.