added obsacle generation, rotation/scaling helpers