Ejemplo n.º 1
0
        public override void RemoveAvatar(PhysicsActor actor)
        {
            BasicCharacterActor act = (BasicCharacterActor)actor;

            if (_actors.Contains(act))
            {
                _actors.Remove(act);
            }
        }
Ejemplo n.º 2
0
        public override PhysicsActor AddAvatar(string avName, Vector3 position, Quaternion rotation, Vector3 size,
                                               bool isFlying, uint localID, UUID UUID)
        {
            BasicCharacterActor act = new BasicCharacterActor {
                Position = position, Flying = isFlying
            };

            _actors.Add(act);
            return(act);
        }
 public override PhysicsActor AddAvatar(string avName, Vector3 position, Quaternion rotation, Vector3 size,
     bool isFlying, uint localID, UUID UUID)
 {
     BasicCharacterActor act = new BasicCharacterActor {Position = position, Flying = isFlying};
     _actors.Add(act);
     return act;
 }