Skip to content

Commit

Permalink
updates local-multi-web-client example to use the new spawn method fr…
Browse files Browse the repository at this point in the history
…om CharacterManager
  • Loading branch information
TheCodeTherapy committed Jan 24, 2024
1 parent 532a49e commit 1de2b44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/local-multi-web-client/src/LocalAvatarClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ export class LocalAvatarClient {
this.collisionsManager.addMeshesGroup(room);
this.scene.add(room);

this.characterManager.spawnCharacter(
this.characterManager.spawnLocalCharacter(
characterDescription!,
localClientId,
true,
spawnPosition,
spawnRotation,
);
Expand Down

0 comments on commit 1de2b44

Please sign in to comment.