Function CollisionObject2D.createShapeOwner

Creates a new shape owner for the given object. Returns owner_id of the new owner for future reference.

long createShapeOwner (
  GodotObject owner
) nothrow @nogc;