pmndrs / use-cannon

👋💣 physics based hooks for @react-three/fiber
https://cannon.pmnd.rs
2.74k stars 154 forks source link

Physics don't work args are less than 1 #290

Closed krispya closed 2 years ago

krispya commented 2 years ago

If the args for a collider hook are less than 1 then no collision occurs. For example with a box if the args are [.5, .5, .5] or with a sphere if the args are [.3].

krispya commented 2 years ago

Turns out the bad behavior I saw had to do with useSphere in particular which is already documented in https://github.com/pmndrs/use-cannon/issues/287