I remember this being asked before, but I can't remember if it was on the old forum or not, and my search didn't find anything.
Am I right in assuming that: the size of the model in the animator is a default, which can then be changed by the model size commands in the script?
I believe you can change the size, but the sizes you see in the scripts have nothing to do with the model size. They are for hit detection.
Dr. Infested Wrote:I believe you can change the size, but the sizes you see in the scripts have nothing to do with the model size. They are for hit detection.
Correct. You can also change the draw size of a model by using:
Code:
obj.model.resize=1.0;
1.0 is the regular size, 2.0 is twice, 0.5 is half, etc.
There's an actual obj.size.grow() function that changes both the model and the hit sizes over a time period. It's just a quick way to do the shrink/grow effects you see in some games.
[>] Brian