implemented active state for obstacles to handle pacing