superframe icon indicating copy to clipboard operation
superframe copied to clipboard

keep position?

Open jyy1082 opened this issue 8 years ago • 3 comments

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

jyy1082 avatar Dec 07 '17 04:12 jyy1082

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.

ngokevin avatar Dec 07 '17 22:12 ngokevin

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.

jyy1082 avatar Dec 08 '17 01:12 jyy1082

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

ngokevin avatar Dec 08 '17 05:12 ngokevin