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

keep position? #115

Open
jyy1082 opened this issue Dec 7, 2017 · 3 comments
Open

keep position? #115

jyy1082 opened this issue Dec 7, 2017 · 3 comments

Comments

@jyy1082
Copy link

jyy1082 commented Dec 7, 2017

I would like to keep the position and direction of all parts from glTF file. Does this component support this? Thanks

@ngokevin
Copy link
Collaborator

ngokevin commented Dec 7, 2017

Yeah, it could be done. I'd probably have it check if there is a position or rotation defined. If not, then use the position/rotation from the file. I won't be able to get around to it myself though.

@jyy1082
Copy link
Author

jyy1082 commented Dec 8, 2017

Actually,our requirement is to import every part from glTF file as an individual entity in aFrame and keep all parts' positions&rotations. Could you tell me how can I implement it using your component? Thanks.

@ngokevin
Copy link
Collaborator

ngokevin commented Dec 8, 2017

Would be easy enough to fork mine and make your own component. You'll need to modify it.

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