now i get really weird behaviour..... and sorry, i cannot reconstruct the results from the past, i only know it definately used to work....
so here is the problem currently:
Code: Select all
i spawn an entity. ( ent.origin is somewhere around 0,0,0 )
then i parent it to an entity. ( now the ent.origin is/prints at false coordinates, although it should be near the parent )
and also, it shows the origin correctly visually. but .origin property returns completely off/false position.
here is a rough example of how off it is :
Code: Select all
THIS SHOWS : Vector(917.92626953125, -7709.6591796875, 9075.6396484375)
THIS SHOULD BE :Vector(7142.69482421875, -3331.988037109375, -9038.638671875)
then, if i clear the parent. ent.origin snaps back to (0,0,0). ( which i think in the past it would stay at the parent based/moved position )
does anyone know whats going on here?... thanks