Ejemplo n.º 1
0
        public override CmdResult ExecuteRequest(CmdRequest args)
        {
            SimPosition pos;

            if (!args.TryGetValue("pos", out pos))
            {
                pos = TheSimAvatar;
            }
            SimPathStore R  = pos.PathStore;
            Vector3      v3 = pos.SimPosition;

            WriteLine("SimZInfo: " + pos + " " + R.GetGroundLevel(v3.X, v3.Y));

#if COLLIDER_ODE
            Vector3 landing = R.CreateAndDropPhysicalCube(v3);
            WriteLine("SimHInfo: {0}", landing);
#endif
            return(Success("Ran " + Name));
        }