Closed anticitizn closed 1 month ago
This is to be expected since the plane is a special type of geometry with infinite size and depth. As the spec indicates, the size is only meaningful for visualizing the plane. The depth part probably needs to be mentioned in the spec, but essentially, the space on one side of the plane (on the side of the normal vector) is considered free space and the other side of the plane is considered occupied/solid from the physics perspective. The slow down is happening because the robot is in constant collision with one of the planes.
The plane is not appropriate for modelling walls, especially the ones on the inside of a room. Consider using thin cubes instead.
Thanks. I thought that since it has a size attribute it would function essentially like a cube. Should have read the docs more carefully :)
Environment
Description
Steps to reproduce
Spawn 40 or so of either model and see the performance impact:
Box collision
Plane collision
Output
With box collision:![image](https://github.com/gazebosim/gz-sim/assets/33865403/2ba19d7e-7a5e-4661-be53-dbce23294187)
With plane collision:![image](https://github.com/gazebosim/gz-sim/assets/33865403/05213120-bc4a-4c36-b026-e006acb3dec8)