Hi, why do i get this error in this line?
this.rhand = other.findByName(data.mod).model.findByName('Bip01 D Mano');
Hi, why do i get this error in this line?
this.rhand = other.findByName(data.mod).model.findByName('Bip01 D Mano');
Probably because a Model Component doesn’t have a .findByName()
method. I think you want:
other.findByName(data.mod).findByName('Bip01 D Mano');
tried that too LeXXik didn’t work either.
Although in your way it doesn’t show errors LeXXik, but the sword is not shown in hand either, before trying to reparent it the sword is shown between the legs, after reparent it disappear
It doesn’t show the error, because it is the right way to do it
The sword missing on reparent is a different issue. Make sure the positions of the parent and child are correct after reparenting. Also, make sure the parent and child are enabled.
Yes @LeXXik they are both enbaled, i have a dubt about the scale is the object scaled after being parented?
The child will take its current own scale (ignoring the current parent scale) and multiply by the new parent scale.
Got it after rescaling it works