diff --git a/examples/new_actions.py b/examples/new_actions.py index f03b1656b3ce5d9531d4f857b82ba8e901e37e9d..89584483e6305286a6725dc9a66e6a36468b3cc0 100644 --- a/examples/new_actions.py +++ b/examples/new_actions.py @@ -39,7 +39,8 @@ def _strafe_impl( noise_amount: float, ): forward_ax = ( - scene_node.absolute_transformation()[0:3, 0:3] @ habitat_sim.geo.FRONT + np.array(scene_node.absolute_transformation().rotation_scaling()) + @ habitat_sim.geo.FRONT ) strafe_angle = np.deg2rad(strafe_angle) strafe_angle = np.random.uniform(