mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed remote joint
This commit is contained in:
parent
0665348ae2
commit
b159bbb1cc
12 changed files with 143 additions and 29 deletions
|
|
@ -7,7 +7,7 @@ define([
|
|||
|
||||
function (Parent, Settings, NotificationCenter, Exception) {
|
||||
|
||||
function Doll(physicsEngine, playerId) {
|
||||
function Doll(physicsEngine, uid, player) {
|
||||
this.animationDef = {
|
||||
"stand": [1,1],
|
||||
"walk": [2,28],
|
||||
|
|
@ -23,7 +23,7 @@ function (Parent, Settings, NotificationCenter, Exception) {
|
|||
this.animatedMeshes = {};
|
||||
this.headMesh = null;
|
||||
|
||||
Parent.call(this, physicsEngine, playerId);
|
||||
Parent.call(this, physicsEngine, uid, player);
|
||||
}
|
||||
|
||||
Doll.prototype = Object.create(Parent.prototype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue