public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //force
            force = new Vector3();
            force.Randomize();
            //torque
            torque = new Vector3();
            torque.Randomize();
        }
        public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //linear
            linear = new Vector3();
            linear.Randomize();
            //angular
            angular = new Vector3();
            angular.Randomize();
        }
        public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //translation
            translation = new Vector3();
            translation.Randomize();
            //rotation
            rotation = new Quaternion();
            rotation.Randomize();
        }
Beispiel #4
0
        public override void Randomize()
        {
            int    arraylength = -1;
            Random rand        = new Random();
            int    strlength;

            byte[] strbuf, myByte;

            //header
            header = new Header();
            header.Randomize();
            //vector
            vector = new Vector3();
            vector.Randomize();
        }