Home   Help Search Login Register  

Author Topic: May someone do a quick getPos test?  (Read 1218 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
May someone do a quick getPos test?
« on: 09 Jul 2007, 11:33:12 »
Place a unit above the roof or in different floors of different buildings and for each one get:
Code: [Select]
unitname distance (getPos unitname)

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: May someone do a quick getPos test?
« Reply #1 on: 09 Jul 2007, 12:00:17 »
Eh...

So the distance gets bigger the higher you go in the building..
The change in getpos height is like 0.00000xxx meters, but the distance grows by meters between floors... ???

Do I smell getPosInBuilding function coming?  :D
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: May someone do a quick getPos test?
« Reply #2 on: 09 Jul 2007, 12:02:25 »
So, did distance between unit and its position increase?

EDIT: So it does. Quite interesting. That means the real height of a unit is its current height plus the distance between the unit and its position. May be this is the data LCD and Mr. Peanut were looking for  ;)
« Last Edit: 09 Jul 2007, 12:30:20 by Mandoble »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: May someone do a quick getPos test?
« Reply #3 on: 09 Jul 2007, 15:23:21 »
fuckin awesome mandoble :D  :cool2:

ill buy u a pint next time we meet :P ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: May someone do a quick getPos test?
« Reply #4 on: 09 Jul 2007, 16:42:50 »
mmmmm
how about repeating the test, but this time getting:
unitname distance (unitname modelToWorld [0,0,0])