newton.geometry.build_bvh_shape#
- newton.geometry.build_bvh_shape(model, state)[source]#
Build the shape BVH stored on model.
Allocates
bvh_shapesand related fields (shape enabled filter, per-shape local AABBs, world-space transforms, group roots) and populates them from the current state. Must be called beforerefit_bvh_shape()and before any sensor that reads the shape BVH (e.g.SensorTiledCamera).