Cargo Features

[dependencies]
bevy_picking_bvh_backend = { version = "0.1.0", default-features = false, features = ["obvhs", "bvh"] }
default = obvhs

The obvhs feature is set by default whenever bevy_picking_bvh_backend is added without default-features = false somewhere in the dependency tree.

obvhs default

Enables obvhs

Affects bevy_picking_bvh_backend::obvhs, ray_cast::MeshRayCast.obvhs_bvh2_caches

bvh

Enables bvh ^0.10.0 and nalgebra

bvh:

Warn: this version does not work well with cube for example (for AABB with width/height/depth of 0 more generally)

Affects bevy_picking_bvh_backend::bvh, ray_cast::MeshRayCast.bvh_caches