-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(model3d): Basic React controls #1368
feat(model3d): Basic React controls #1368
Conversation
}; | ||
}); | ||
|
||
this.renderer.setAnimationClip(this.animationClips[0].id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be acting on renderer
inside of a controls-specific method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally not, but it was being done previously in a more roundabout way -- L282 sets the animation clip => Model3DControls would emit a EVENT_SELECT_ANIMATION_CLIP
event => handleSelectAnimationClip
which acts on the renderer
Initial React rewrite of Model3DViewer controls
TODO:
Before:
After: