Skip to content

Commit

Permalink
Back to root path
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Dec 13, 2023
1 parent 8b8eef5 commit e5dd359
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion omnigibson/prims/entity_prim.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ def articulated(self):
Returns:
bool: Whether this prim is articulated or not
"""
return self._prim.HasAPI(UsdPhysics.ArticulationRootAPI)
# Note that this is not equivalent to self.n_joints > 0 because articulation root path is
# overridden by the object classes
return self.articulation_root_path is not None

@property
def articulation_root_path(self):
Expand Down

0 comments on commit e5dd359

Please sign in to comment.