Skip to content

Are there any plans to update this project to the latest version of @react-three/fiber?  #24

@WilldelaVega777

Description

@WilldelaVega777

The app doesn't work anymore with the latest versions of the library, some things don't apply anymore like the setDefaultCamera() function not being anymore part of useThree().

It would be awesome to see an updated version of this video and having a chance to learn how to make this app work with the latest versions of the libraries.

I tried by adding:

useEffect(() => {
    set({camera: cameraRef.current})
})

in Camera.js instead of using setDefaultCamera() at no avail. Right now the sphere falls into the floor where the camera object is. It is possible to use the mouse pointer to see around but the keyboard doesn't respond other than to jumps and then I can see a ball around the camera jumping forever on top of it.

It would be awesome to have this example working as I have not found a better video/example of react three fiber with useCannon in the whole web.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions