fixed some physics & AI bugs
add raytracing-API