Quote:

Hey, that's very cool.
I'm wondering: How did you do the "corners" if the selected unit?
Are they just another model? Looks like it... but then how do you set it to be exactly the size your selected object? Or don't you?





I make a loop through the entity vertices, and get theyr x,y,z lower and higher positions, from what I get its real rendered dimensions. Then I compare it with a model , 64 quants squared ( Its a model, AlphaChannel skin... ) and adapt its scale to fit exactly the model size. The result isnt perfect all times, anyway.

When making scaling calculations, I set the Pan/tilt/roll to Zero of both entities, to get exact or ( something so ) results, them I put them back to the original position.

When I get home I will post this simple code.

About maps, I think will not work with them.

Thankyou GermanUnkol

Last edited by Carloos; 02/21/07 14:18.