concepts.simulator.sapien2.sapien_utils.load_obj_from_file#

load_obj_from_file(scene, collision_file, pose, name, scale, only_visual=False, visual_file=None, is_kinematic=False, is_static=False, density=1000, physical_material=None, render_material=None)[source]#
Parameters:
  • scene (sapien.core.Scene)

  • collision_file (str)

  • pose (sapien.core.Pose)

  • name (str)

  • scale (float)

  • only_visual (bool)

  • visual_file (str)

  • is_kinematic (bool)

  • is_static (bool)

  • density (float)

  • physical_material (sapien.core.PhysicalMaterial)

  • render_material (sapien.core.RenderMaterial)

Return type:

sapien.core.ActorBase