Saltar al contenido principal

Búsqueda

How do I use the Switch gadget ?

  • skillphiliac

    Well, for starters, a switch by itself doesn't give you any granular control whatsoever and is just an extension of what the trigger zone already does. "Enter zone --> activate rotator --> movement" is pretty much the same as making it route through a switch: there's no point, really.

    A trigger zone is basically an input signal, as is the switch. It returns 1 or 0 depending on its state. Same for the input switch: you can use it after a trigger zone, but to get the rotation to last a while after, you'll still need a timer and a counter - if you're going by the tutorial's way of doing things.

    You could use, let's say, a timeline, plop in the switch, hook the TL up to your trigger zone and then position the switch such that it lasts as long as you'd like. This is how it should execute.

    enter trigger volume --> timeline activates --> as the switch node is getting activated, it'll in turn activate the rotator --> when the playhead in the timeline leaves the switch's region, the rotator turns off as well

    I personally love using timelines. You can quickly throw together logic with a bit of dynamics, waiting a tad before activating a timeline, stacking animations etc.
    I can also recommend getting to know keyframes, they're especially good for things you want to "ramp on" or just smoothly transition between states.

Iniciar sesión para dejar un comentario.