This question for math gurus among us :) Actually it seems to be straightforward but I still can't get it work. I have got a plane (floor) which is elevated 35 degrees at X axis. i have small plane (tracker) that I need to move on top of the floor plane using Mouse3D x,y,z coordinates. The problem . Because the tracker is assigned the coordinates of the floor it actually intersects with it.I need to offset it let's say 100 px on local Y. If the floor was not sloped it would be piece of cake ( just to change its Y). But here it appears to be more tricky.Already tried to scale ,add, subtract the position vector as well as retrieve the normal vector from underneath face andto transform it to global coords. Nothing gets it right.The only close solution I have found by now is to add to the tracker position a vector with some Y component offset.But it gives uneven Y of the tracker while moving it around the floor. I am sure I miss some basic calculation here. Some one has an idea how to solve it ?
Thanks a lot ! -- 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]
