mirror of
https://github.com/overte-org/community-apps.git
synced 2025-04-05 14:52:09 +02:00
Fix initial position of the doppleganger
Fix initial position of the doppleganger
This commit is contained in:
parent
9b5ce57c29
commit
8f2d5cfd62
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ Doppleganger.prototype = {
|
|||
}
|
||||
|
||||
this.frame = 0;
|
||||
this.position = options.feetPosition || Vec3.sum(avatar.feetPosition, Quat.getForward(avatar.orientation));
|
||||
this.position = options.position || Vec3.sum(avatar.feetPosition, Quat.getForward(avatar.orientation));
|
||||
this.orientation = options.orientation || avatar.orientation;
|
||||
this.skeletonModelURL = avatar.skeletonModelURL;
|
||||
this.jointStateCount = 0;
|
||||
|
|
Loading…
Reference in a new issue