From ad371de84e14ef5a8d167c22b43a02a65d97eb80 Mon Sep 17 00:00:00 2001 From: Kolin Guo Date: Sat, 10 Aug 2024 14:18:24 -0700 Subject: [PATCH] [Bugfix] Unsupported *= operand sapien.Pose and mplib.Pose --- mplib/sapien_utils/conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mplib/sapien_utils/conversion.py b/mplib/sapien_utils/conversion.py index 54ab841..c0fcb5e 100644 --- a/mplib/sapien_utils/conversion.py +++ b/mplib/sapien_utils/conversion.py @@ -300,7 +300,7 @@ def convert_physx_component(comp: PhysxRigidBaseComponent) -> FCLObject | None: shapes: list[CollisionObject] = [] shape_poses: list[Pose] = [] for shape in comp.collision_shapes: - shape_poses.append(shape.local_pose) # type: ignore + shape_poses.append(Pose(shape.local_pose)) # type: ignore if isinstance(shape, PhysxCollisionShapeBox): c_geom = Box(side=shape.half_size * 2)