ecctrl
ecctrl copied to clipboard
🕹️ A floating rigibody character controller
given: ``` import { Html, KeyboardControls } from '@react-three/drei'; //... Let's Go! ``` you can not look around in the scene with mouse or pointer. How can we fix this?...
I can get a ref to the ecctrl to get the player `.translation()` but is there a way to get rotation too? I need it to determine the direction of...
When I go into first person perspective, and move the mouse around, often the camera/character rotate. ```jsx const MyEcctrl = forwardRef(({ children, pos, perspective = THIRD_PERSON, props = {} },...
I suggest having a way to keep the camera in the primary scene. As discussed here: https://discord.com/channels/740090768164651008/1162488856088690879/1239947711696863316 There is a issue where Ecctrl takes out the camera, therefore we cannot...
This PR aims to enhance the functionality of this amazing library by introducing support for custom animations. Previously, the library provided predefined animations for common player actions such as idle,...
Do you have any hints How can I integrate with @react-three/xr ? I would like to use it as it works by default with additional support of VR, when when...
I have a scenario where I need to implement multiplayer online functionality. I will use socket to synchronize players' state information to a local store named players: new Map(). Can...
Hi, I am excited to use ecctrl, however I am getting the following error when importing the module. `Type error: Could not find a declaration file for module 'ecctrl'. '/Users/konstantinlackner/Dev/konchord-experience-demo/node_modules/ecctrl/dist/Ecctrl.js'...
I have a custom character model (who will have animations at a later date) I visualise the cuboid with a Box. I add the CuboidCollider inside Ecctrl. The player finds...