carla
carla copied to clipboard
Associate bounding box with actors
Trying to associate bounding boxes from boxes = world.get_level_bbs(object_type)
to an actor to assign velocity based on that of the actor's.
Transforming actor's bbox location to world space like: actor_bbox_world_location = actor.get_transform().transform(bbox.location)
does not seem to have any match (not even close) with the boxes from world.get_level_bbs
.
What am i missing something here? Is there a way to achieve what I'm looking for?