Tubulii

08-07-2010 16:12:22

Hi,

I have some problems to convert absolute coordinates to relative coordinates.

I found this : ReferenceNode._getDerivedOrientation.inverse * (Abs_position1 - ReferenceNode._getderivedPosition) / ReferenceNode._getDerivedScale

Abs_position1: absolute coordinate which I want to make relative

but the calculated position is wrong.

Has anybody is an idea?

I have some problems to convert absolute coordinates to relative coordinates.

I found this : ReferenceNode._getDerivedOrientation.inverse * (Abs_position1 - ReferenceNode._getderivedPosition) / ReferenceNode._getDerivedScale

Abs_position1: absolute coordinate which I want to make relative

but the calculated position is wrong.

Has anybody is an idea?