From: JBR <rivendell9999@ya...>  20070630 12:35:39

Hi I am reading position of a virtual robot in player using Position2dProxy pp(&robot, gIndex); ... etc ... robot_x = pp.GetXPos(); robot_y = pp.GetYPos(); the robot is moving, following walls but the readings make no sense even when the robot moves horizontally BOTH X an Y change (a LOT, I do not mean changing slightly because of movement oscillation, but really changing as if X and Y were changing fast while the robots follows an horizontall, or vertical wall) can anyone help me on this? This is an example of what I am saying: x,y = 7.06034 , 3.51814 x,y = 7.02499 , 3.55349 x,y = 7.02499 , 3.55349 x,y = 7.00731 , 3.57117 x,y = 7.00731 , 3.57117 x,y = 6.98963 , 3.58885 x,y = 6.98963 , 3.58885 x,y = 6.97195 , 3.60653 x,y = 6.97195 , 3.60653 x,y = 6.9366 , 3.64188 x,y = 6.9366 , 3.64188 x,y = 6.91892 , 3.65956 x,y = 6.91892 , 3.65956 x,y = 6.90124 , 3.67724 x,y = 6.90124 , 3.67724 x,y = 6.88356 , 3.69491 x,y = 6.88356 , 3.69491 x,y = 6.84821 , 3.73027 x,y = 6.84821 , 3.73027 x,y = 6.83053 , 3.74795 x,y = 6.83053 , 3.74795 these readings were taken while the robot was following the bottom wall of the room, perfectly horizontal and with the robot making an exact 0 degree angle with that wall (paralell) (moving left to right) so, why is Y changing?! ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope!  their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ 