Trackball Controls not extending properly
nart4hire opened this issue · 4 comments
Describe the bug
Follow up for this Discussion.
tl;dr: I tried extending Trackball Controls according to the documentation for extending Orbit Controls, however it didn't work. Confirmed to be a bug with Cientos, so I made this issue.
Reproduction
Steps to reproduce
Extend trackball controls like how you would with orbit controls as mentioned in the TresJS docs
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@tresjs/cientos: 3.9.0 => 3.9.0
@tresjs/core: 4.0.2 => 4.0.2
vite: ^5.3.2 => 5.3.2
Used Package Manager
pnpm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Start a new pull request in StackBlitz Codeflow.
Thanks for filing the issue @nart4hire .
Hi there! I'm new to Tresjs (and Three.js!) and came across this issue as I was searching for a way to use TrackballControls in my app.
Does this issue currently make it impossible to use TrackballControls with Tresjs?
I've tried following both methods in https://docs.tresjs.org/advanced/extending.html but get errors regarding state being undefined, and am wondering if that's related to this issue before I start digging further myself?
Is it likely that TrackballControls will be part of Cientos like OrbitControls is?
Hi @skmbr this will require some research, we don't know why is not working properly