The code for OIGE and the robot usd can be found at the end.
The Spot Robot clips through the ground plane, the collision filters seem to be making the robots filter the ground plane collision.
When I manually stoped the simulation and added an ground plane they seemed to collide. But that wouldnt work with the Terrain environment.
The terrain that is programatically added has a collision mesh that is being filtered by all robots in the “env”
Hi there, thanks for reporting the issue. The terrain prim path should be added to the collision_filter_global_paths list to enable collision. We can expose this variable to the task class so that it can be set directly from the task.
It is interesting that the terrain util creates a mesh with an outdate collider that kit seems to ignore. Maybe this issue is deeper.
I can create terrains with kit commands and they work fine. Just the terrains created with OIGE code that doesnt collide with the robots I import.
Duct tape solution is to use omni.kit.commands :
Inside of utils/terrain_utils/terrain_utils.py
I found at line 367 the add_terrain_to_stage method.
I played by addind different types of colliders with some success, my guess is that something changed on physx and it no longer works as supposed to. Need to figure out now how to wrap a high detailed collision mesh and it should work.