nodeRepulseInterbodyForceBVH
fun ForceSimulation.nodeRepulseInterbodyForceBVH(configure: NodeRepulseInterbodyForceBVH.() -> Unit): Boolean(source)
Adds a repulsive interbody force using a bounding volume hierarchy (BVH) to the simulation.
This method configures and applies the NodeRepulseInterbodyForceBVH to simulate repulsion between nodes across bodies in the ForceSimulation. The force uses a BVH structure to optimize the detection of node pairs within the specified search radius.
Parameters
configure
A lambda expression used to configure the properties of NodeRepulseInterbodyForceBVH. The configuration can include attributes such as searchRadius and strength to define the nature of the repulsive force.