ObjectControls | Object Controls for three.js | Graphics library
kandi X-RAY | ObjectControls Summary
kandi X-RAY | ObjectControls Summary
Object Controls are a lightweight attempt to make manipulating objects in three.js slightly easier. I'm open to suggestions, and would love to hear if / how you use it, so please hit me up on Twitter if you have any questions / concerns / comments / general hatred. *View Project on Github.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ObjectControls
ObjectControls Key Features
ObjectControls Examples and Code Snippets
Community Discussions
Trending Discussions on ObjectControls
QUESTION
I'm using three.js
and a script similar to OrbitControls
as my controller. In my main.js
file I have a THREE.Group()
that is being passed to the controller as an argument. From there, I'm attempting to rotate the entire group.
Problem 1: once the group is passed to the controller, I can no longer access its properties without making a copy
Problem 2: a copy does not contain the entire THREE.Group()
, rather only the first child
I've been working on this for hours now and I've tried about 50 different things including anything relevant on stackoverflow. I'm completely out of ideas on how to combat this problem.
main.js
...ANSWER
Answered 2019-May-31 at 09:24controls = new THREE.ObjectControls(camera, container, game);
game = new THREE.Group();
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ObjectControls
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page