In the Carla simulator, one can retrieve the bounding box of any object and then deal with the 8 vertices of the bounding box using the following methods
get_local_vertices(self)
Returns a list containing the locations of this object's vertices in local space.
Return: list(carla.Location)
get_world_vertices(self, transform)
Returns a list containing the locations of this object's vertices in world space.
Parameters:
transform (carla.Transform) - Contains location and rotation needed to convert this object's local space to world space.
Return: list(carla.Location)
However, I need to retrieve the exact vertices of the object inside the bounding box, not only the vertices of its bounding box can anyone help with that?
Apparently, to do so one should retrieve the mesh of the object and then get the list of vertices from the mesh however, there is no getter function called in any Carla Object class ( to the best of my knowledge)