def __init__(self): a = Input() a.throttle = True b = Input() b.jump = True b.pitch = 1.0 movements = [ MovementInInterval(0.0, 3.0, a), MovementInInterval(3.0, 4.2, b) ] super().__init__(movements, clone_delay=0.8)
def set_controls(self, controls: Input): controls.throttle = 1