alice-teacher Detect off road issue

Joshua Archer joshua at iocari.com
Thu Nov 21 15:45:36 EST 2013


You might create transparent objects that line the roads, and write methods to sense proximity to those objects.

On Nov 20, 2013, at 4:05 PM, Marty Schultz <schultz_marty at hotmail.com> wrote:

> In Alice 2.3, is there a trick to detecting if a car (Class Car, for
> example), or the camera,  driving on a road (Class Road) drives off of the
> left or right side of the road?  Assume that the car is either on the same
> level as the road, or within 1 meter.
> 
> It seems difficult to determine if the x,y position of the car (or camera
> current position) is within the x,y coordinates of the road.
> 
> Thanks,
> 
> Marty
> 
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

-----------------------------------------------------------------------------------------------------------------------------------
Joshua Archer
joshua at iocari.com
-----------------------------------------------------------------------------------------------------------------------------------



More information about the alice-teachers mailing list