pmndrs / use-cannon

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

Create a type in useBox which is static and also can be moved with the api of useBox #448

Closed satvik2131 closed 2 months ago

satvik2131 commented 2 months ago

As we have types like "Static" , "Dynamic" and "Kinetic" . In dynamic it acts according to the physical world and moving it manually will disturb the flow . With static it does not move at all , maybe because rerender doesn't happen . So , there should be a type , which is static , aware of the physical world and can be moved with the api.