concepts.simulator.sapien2.sapien_utils.load_spoon#

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

  • renderer (sapien.core.SapienRenderer)

  • spoon_id (int)

  • x (float)

  • y (float)

  • additional_scale (float)

  • additional_rotation_xyzw (ndarray | None)

  • additional_height (float)

  • actor_name (str | None)

  • color (ndarray)

  • density (float)

  • is_kinematic (bool)

  • physical_material (sapien.core.PhysicalMaterial)

Return type:

sapien.core.ActorBase