Esempio n. 1
0
        public static PhysicalEntityImpulseAction Create()
        {
            var action = new PhysicalEntityImpulseAction();

            action.type = 2;
            action.iApplyTime = 2;
            action.iSource = 0;
            action.impulse = Vector3.Zero;

            action.point = UnusedMarker.Vector3;
            action.angImpulse = UnusedMarker.Vector3;
            action.partid = UnusedMarker.Integer;
            action.ipart = UnusedMarker.Integer;

            return action;
        }
Esempio n. 2
0
        public static PhysicalEntityImpulseAction Create()
        {
            var action = new PhysicalEntityImpulseAction();

            action.type       = 2;
            action.iApplyTime = 2;
            action.iSource    = 0;
            action.impulse    = Vec3.Zero;

            action.point      = UnusedMarker.Vec3;
            action.angImpulse = UnusedMarker.Vec3;
            action.partid     = UnusedMarker.Integer;
            action.ipart      = UnusedMarker.Integer;

            return(action);
        }