sim.sap_runtime.SapModel.state# SapModel.state(requires_grad: bool | None = None) → SapState[source]# Create a mutable SapState initialized from the model position, velocity, body pose, and body velocity arrays.