Skip to content

omni.replicator.core.randomizer.rotation also scatters for some reason #707

Description

@mpgussert

Description

Calling rep.randomizer.rotation() also scatters the input prims in 3D space. I can't attach a USDA file to this bug report for some reason, so the attached text file is a USDA file in with the extension changed. Change the extension to USDA, load the file and observe the 3 meshes under the Props xform.

replicator_bug.txt

Run this script in the script editor and observe the behavior

import omni.replicator.core as rep

def randomize():
    rep_items = rep.get.prims(path_pattern="/World/Props/*")
    with rep_items:
        rep.randomizer.rotation()
    return rep_items.node

rep.randomizer.register(randomize)

with rep.trigger.on_frame(max_execs=1):
    rep.randomizer.randomize()

Isaac Sim version

6.0.1

Operating System (OS)

Ubuntu 24.04

GPU Name

RTX 3090

GPU Driver and CUDA versions

580.159.03

Logs

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions