x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AnimBP: What is a Conduit and why do you need it?

Hi, I just wondered what this Conduit state is. It just seems to be a state without any animation pose. But how does that make sense? Isn't it always required to play an animation?

So could you explain to me what a Conduit is and when do you need to use Conduits instead of normal states?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 10 '16 at 07:46 PM in Blueprint Scripting

avatar image

mcmatze
92 13 14 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The documentation explaining what they are and how to use them is available here. They're basically similar to a transition rule only they can have multiple inputs and / or outputs so you can branch into different animation states depending on various checks.

more ▼

answered Jul 10 '16 at 10:54 PM

avatar image

Interference
101 3 2 6

avatar image Wallenstein Mar 19 '19 at 03:21 AM

I'd just like to add that I share the confusion of the OP. I read the documentation and based on that there no difference to a normal state. The main determining factor seems to be in the sentence "The actual transition rules that exit the Conduit can then determine the type of death and allow blending to the appropriate state." but that is exactly what I do with regular states. You have one state, then multiple outgoing arrows and the transition rule in each arrow determines when to take that route. Neither the state/conduit nor the rules for states/conduit show any difference from each other whatsoever. So I can only conclude that the conduit is a redundant concept, perhaps a leftover from an earlier development state of the engine that was superseded by an improved version of the regular state.

avatar image JohnnyDale Mar 21 '19 at 01:53 PM

I don't know... I achieved everything with nested state machines... I don't know the advantages of the conduit... but as of now I am using it to self transition to a state... So at least I found one use for it :)

also, this guy https://www.youtube.com/watch?v=MyqZIRH5UP8 uses it in a smart way. Wish I had done it like him

avatar image MarkSB Jul 11 '19 at 05:18 PM

A conduit has a Bool/Rule inside. A state contains a slot for animation.

The conduit can be used like a state without having to play an animation. You can use a state like a conduit gate, but it will want to play an animation.

That's the main difference and why it exists. If you're ever in a position that you scratch your head and think I really need a state here to control things or route something somewhere but I don't want to play an anim, call up your buddy the conduit.

Usually a conduit gets used like a gate. alt text Lets say, your character can have different status effects put on them, that drastically affects how they look when moving (Exhausted, Wounded and Poisoned) Inside of each of those you have states (Idle, Walk/Run, Jump) that have their own Bool/Rules. You can copy that entire setup, rules and all, gate it behind a conduit like "Status" replace the animations with different versions and you now have "Exhausted and Wounded and Poisoned" all working off of the same bools to walk/run and jump, but the conduit gate keeps it in and out of the right status.

You don't have to manage a lot of rules between your main node that is talking to wounded, poisoned and exhausted all at the same time. If you do that (hook it all into your main node) it gets hit, and checks all 3+ rules every time, but with the gate it only checks 1. If you do that enough times you can save yourself from hitting a ton of rules all at the same time.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question