• Naida Goro's avatar
    mod(Core): Consider dimension and zOffset of objects in collisions · 92db1774
    Naida Goro authored and Reinhard Biegel's avatar Reinhard Biegel committed
    So far, agents could collide with objects which had no height
    (e.g. road marks) or which where above them (e.g. traffic lights).
    
    The collision detection now only considers objects when:
    - All dimensions (length, width, and height) are larger than 0
    - The objects zOffset + height does not overlap with the agents height
    
    Note: This is not a real 3D implementation, as no 3D bounding box model
          exists yet, and agents are grounded to z = 0.
    
    Signed-off-by: Naida Goro<naida.goro@in-tech.com>
    92db1774