newton.geometry.collide_plane_box#
- newton.geometry.collide_plane_box(plane_normal, plane_pos, box_pos, box_rot, box_size)[source]#
Core contact geometry calculation for plane-box collision.
- Parameters:
- Returns:
contact_dist: Vector of contact distances (wp.inf for unpopulated contacts) contact_pos: Matrix of contact positions (one per row) contact_normal: contact normal vector
- Return type:
Tuple containing