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

Maintaining Bone Position #19

Open
JannisX11 opened this issue Sep 27, 2019 · 0 comments
Open

Maintaining Bone Position #19

JannisX11 opened this issue Sep 27, 2019 · 0 comments

Comments

@JannisX11
Copy link

I am looking to solve a bone chain where the direction and length of each bone is defined by the position of the child bone. I played around with the library and using the default settings it seemed to only use the Z axis for the bone and do the rest via rotation. This would make sense in most applications but I am trying to maintain the positions.

Example:

var bone_1 = new THREE.Bone();
var bone_2 = new THREE.Bone();
bone_2.position.set(2.5, 7, 1)
bone_1.add(bone_2);

Is there an option in this library to enable this, or, if not, do you think it could be added?

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

1 participant