Main Content

remove

Remove actor added to world or remove all actors in world

Since R2023a

    Description

    remove(world,actor) removes the actor specified by actor from the world specified by world.

    remove(world) removes all actors from world.

    Input Arguments

    collapse all

    World object from which the actor object is being removed, specified as a sim3d.World object.

    Actor object being removed from the 3D world, specified as a sim3d.Actor object.

    Version History

    Introduced in R2023a