OK , finally got it .Already tried it before but from the top view because
of z sroting it was looking as if the tracker was intersecting in some areas
with the floor , after cheking it from  the side view found it was just
perfect. Here is the snippet for moving tracker on sloped plane with Y
offset:

_tracker.position=_unprojVector;///extracted from Mouse3D scene x,y,z)
 _tracker.transform.copy3x3(_plane.transform);
                    var matr:MatrixAway3D=_tracker.transform;
                    matr.ty+=50;
                    _tracker.transform=matr;

Nice weekend to everyone!`

On Fri, Jul 30, 2010 at 8:58 PM, Makc <[email protected]> wrote:

> well, not exactly, this only gives you direction, the distance will
> vary. then, it's a special case for this particular rotation; I
> believe generally one of transformation matrix columns is the plane
> normal, so you probably need to use that instead.
>



-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to