Created
June 12, 2022 07:30
-
-
Save flushpot1125/94ce6957a54618d812c270178f0f9922 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public onStart(): void { | |
this._leftArmBone = this._scene.getBoneByName("RightHandThumb1"); | |
this._leftArmBone.position = new Vector3(0,0,0); | |
this._sword.position = new Vector3(0,0,0); | |
} | |
public onUpdate(): void { | |
this._sword.attachToBone(this._leftArmBone,this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment