use-cannon icon indicating copy to clipboard operation
use-cannon copied to clipboard

👋💣 physics based hooks for @react-three/fiber

Results 38 use-cannon issues
Sort by recently updated
recently updated
newest added

This would be great to get current global time/delta/etc.

enhancement

### Notes - Add `useBody` hook that infers shape with `three-to-cannon` - Add `ShapeInference` demo demonstrating the `useBody` hook ### Todo - ~~When two convex hulls generated by `three-to-cannon` collide,...

I recall seeing a discussion/issue about separating the worker logic in this package into a `cannon-worker` package that isn't tied to react. I can't find that discussion anymore, but I...

Hi, When I open '[cannon.pmnd.rs](https://cannon.pmnd.rs/)' in android browser, it can't shown in it.And show error; ![image](https://user-images.githubusercontent.com/16221107/173226836-2d0155f7-b1c6-44fc-af15-f0ae6d6d7c5d.png)

When using one of the hooks like `useBox` or `useTrimesh`, one can set `rotation` inside the object returned from `argsFn`, but a `quaternion` property is ignored (the body's rotation will...

enhancement
good first issue

I'm looking for a way to reset the position of an InstancedMesh when it collides with a ground plane. So when it collides, I would want to update the position...

enhancement

👋 Hi there, I was learning react-three-fiber with https://youtu.be/ZnXKmODEFHA?t=961 When I'm try to use `camera.position.copy(ref.current.position)` to move with the sphere I just created, I found `ref.current.position` doesn't update. ![image](https://user-images.githubusercontent.com/25228647/164030537-196fdc4d-f5ec-43d0-b4ae-2ac135a8d07d.png) ![image](https://user-images.githubusercontent.com/25228647/164031240-53684c47-c43f-4905-a3fc-9965c079537b.png)...

Makes it so you can specify`scaleOverride` in the `uesBody` props. Since most use cases I have for this initialize the scale on mount and then don't touch it, this method...

Hi, I wanted to attach raycast to the character to check if it is touching the ground before jump. I noticed that there is no option to change start and...

The first time you click to drag something in the Monday Morning demo it causes the same object to be dragged on all subsequent clicks.