Exemplo n.º 1
0
        public override PhysicsActor AddAvatar(PhysicsVector position)
        {
            PhysicsVector pos = new PhysicsVector();

            pos.X = position.X;
            pos.Y = position.Y;
            pos.Z = position.Z + 20;
            OdeCharacter newAv = new OdeCharacter(this, pos);

            this._characters.Add(newAv);
            return(newAv);
        }
Exemplo n.º 2
0
 public override PhysicsActor AddAvatar(PhysicsVector position)
 {
     PhysicsVector pos = new PhysicsVector();
     pos.X = position.X;
     pos.Y = position.Y;
     pos.Z = position.Z + 20;
     OdeCharacter newAv = new OdeCharacter(this, pos);
     this._characters.Add(newAv);
     return newAv;
 }