Skip to content
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

Question | Can I make my own pose using Javascript ? #9

Closed
Rutulpatel7077 opened this issue Sep 17, 2018 · 3 comments
Closed

Question | Can I make my own pose using Javascript ? #9

Rutulpatel7077 opened this issue Sep 17, 2018 · 3 comments

Comments

@Rutulpatel7077
Copy link

Can I control body parts using JS?

@wassname
Copy link
Member

Yeah you can, using position and pose.

This project uses threejs for visualisation for docs like this are relevent for setting the pose.

To try it out, go to the example and in the javascript console execute app.human.position.z -= 10 will make the model further way. Execute app.human.skeleton.bones[2].quaternion.x-=0.3 to bend the models spine backwards like she's doing the limbo.

@wassname wassname reopened this Sep 17, 2018
@Rutulpatel7077
Copy link
Author

@wassname Do we have any documentation? I want some information on how can I move hands and legs ?

@wassname
Copy link
Member

wassname commented Sep 18, 2018

No documentation, this is a pretty new project that's been used by less than a dozen people. Your best option is to check out the threejs docs I linked or google "Three.js Skeletal Animation" or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants