MCPcopy
hub / github.com/Genesis-Embodied-AI/genesis-world / add_entity

Method add_entity

genesis/engine/scene.py:312–320  ·  view source on GitHub ↗
(
        self,
        morph: Morph | Iterable[Morph],
        material: None = ...,
        surface: Surface | None = ...,
        visualize_contact: bool = ...,
        vis_mode: str | None = ...,
        name: str | None = ...,
    )

Source from the content-addressed store, hash-verified

310
311 @overload
312 def add_entity(
313 self,
314 morph: Morph | Iterable[Morph],
315 material: None = ...,
316 surface: Surface | None = ...,
317 visualize_contact: bool = ...,
318 vis_mode: str | None = ...,
319 name: str | None = ...,
320 ) -> "RigidEntity": ...
321
322 @overload
323 def add_entity(

Callers 15

launchFunction · 0.95
playFunction · 0.95
add_stageMethod · 0.95
add_emitterMethod · 0.95
test_dynamic_weldFunction · 0.95
test_resetFunction · 0.95
test_no_driftFunction · 0.95

Calls 1

_add_entityMethod · 0.80

Tested by 15

test_dynamic_weldFunction · 0.76
test_resetFunction · 0.76
test_no_driftFunction · 0.76
test_contact_dedupFunction · 0.76
test_contact_pruningFunction · 0.76