How to swap geometry with another without changing the earlier position ? #881
bhaskarSingh
started this conversation in
General
Replies: 1 comment
-
apply all transforms in blender, command+a or option-a i believe, in that case the position/scale/rotation is written to the vertices directly. looks like your model has nested transform groups, but the head assembly doesn't. otherwise just set it into place by writing position/rotation/scale by hand until it fits. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to build a 3D swapping functionality just like in https://heroforge.com for changing skinned mesh body parts in realtime but failing to do so.
I am loading two gltf files. The first one contains the full body. Tracing the mesh that I want to update and replacing it with the geometry from the second gltf file does update it but now the position is getting messed up. What should I do so that the position remains the same as before?
I have been stuck at it for a while now. If anyone could please help with it by sharing any resources or code gist that I can refer to to resolve the issue will be really helpful.
Link: codesendbox
Beta Was this translation helpful? Give feedback.
All reactions