Beispiel #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);
        }
 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;
 }