newton.geometry.refit_bvh_particle#

newton.geometry.refit_bvh_particle(model, state)[source]#

Refit the particle BVH stored on model for the current state.

Requires build_bvh_particle() to have been called beforehand. Recomputes particle bounds from state.particle_q and refits the BVH in place.

Parameters:
  • model (Model) – Simulation model providing particle metadata.

  • state (State) – Current simulation state with particle positions.