Simulation

ke.sim.KangSimWorld is the recommended Python entry point for rigid bodies, articulations, batched environments, commands, and public state.

Start with First Simulation if you have not run a KangEngine simulation yet.

Object identifiers

env_id selects an environment within the world. obj_id selects an object slot within that environment. Rigid bodies and articulations share these slots, so each (env_id, obj_id) pair must be unique.

Use the same obj_id across environments to group objects into a batch. It identifies the slot, not the asset type. body_id selects a body within that object, such as an articulation link.