Skip to content

Commit

Permalink
physical object syncto super
Browse files Browse the repository at this point in the history
namel committed May 25, 2017
1 parent 5e18017 commit 79f84af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/serialize/PhysicalObject.js
Original file line number Diff line number Diff line change
@@ -95,6 +95,8 @@ class PhysicalObject extends GameObject {

syncTo(other, options) {

super.syncTo(other);

this.position.copy(other.position);
this.quaternion.copy(other.quaternion);

0 comments on commit 79f84af

Please sign in to comment.