getBodies()
Get all bodies in the model.BodyInfo[]
getJoints()
Get all joints in the model.JointInfo[]
getGeoms()
Get all geoms in the model.GeomInfo[]
getSites()
Get all sites in the model.SiteInfo[]
getActuators()
Get all actuators in the model.ActuatorInfo[]
getSensors()
Get all sensors in the model.SensorInfo[]
getSensorData(name)
Read a specific sensor’s current values.Sensor name.
Float64Array | null — sensor values, or null if not found.
getContacts()
Get all current contacts.ContactInfo[]
getModelOption()
Get simulation options.ModelOptions