concepts.simulator.sapien2.sapien_utils.load_mug#

load_mug(scene, renderer, mug_id, x, y, additional_scale=1.0, additional_rotation_xyzw=None, additional_height=0., actor_name=None, density=1000, color=None, is_kinematic=False)[source]#
Parameters:
  • scene (sapien.core.Scene)

  • renderer (sapien.core.SapienRenderer)

  • mug_id (int)

  • x (float)

  • y (float)

  • additional_scale (float)

  • additional_rotation_xyzw (ndarray | None)

  • additional_height (float)

  • actor_name (str | None)

  • color (ndarray)

  • is_kinematic (bool)

Return type:

sapien.core.ActorBase