OmniGibson icon indicating copy to clipboard operation
OmniGibson copied to clipboard

Replace overlap-based mechanisms with trigger mechanisms instead (e.g. for Toggle)

Open cgokmen opened this issue 5 months ago • 0 comments

Our Toggle etc. states do NOT work when flatcache is on. This is because we do an overlap mesh query, but PhysX can't tell the position of the mesh (I think it tries to get it from the raw USD). We are debugging this further but I don't think there's a good way of salvaging this. My proposed approach is replacing the toggle etc. meshes with trigger meshes that PhysX manages and makes callbacks for. This way we get fast updates of these states, do not need to worry about when to check, and should be able to run with USD or Fabric.

cgokmen avatar Sep 14 '24 00:09 cgokmen