示例#1
0
文件: PEScene.cs 项目: yonglehou/DSG
        public override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying)
        {
            PECharacter actor = new PECharacter(avName, this, position, null, size, 0f, 0f, .5f, 1f,
                                                1f, 1f, .5f, .5f);

            lock (m_avatars) m_avatars.Add(actor);
            return(actor);
        }
示例#2
0
 public override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying)
 {
     PECharacter actor = new PECharacter(avName, this, position, null, size, 0f, 0f, .5f, 1f,
     1f, 1f, .5f, .5f);
     lock (m_avatars) m_avatars.Add(actor);
     return actor;
 }