When I need to use the individual X/Y/Z components of a vector I can either split the pin and drag off the values, or drag off the vector into a Break Vector node and then drag off those values, and both methods yield the same results.
As far as I can see, break vector is only useful if you will need both the whole vector as well as the individual components, but I haven’t found any discussion on whether there is any other difference in terms of performance, etc. Would appreciate if someone could shed some light on the matter.
1 Like
Nope, there should be no difference. Note that by connecting pins you just connect pin you only assigning references and break just change structure to individual variable pins.
2 Likes
I would like to ask for more broad scope on this, as this is the only question I can find on the topic, so instead of starting a new a thread, ill ask here.
Basically same question, but not targeted to a vector. Just ANY node that you have the option to both split right on the node, vs drag out the pin and break.
I know one diff is when you break, you can hide various pins from being displayed, where you cant when you split.
But other than, as a general scope rule, ie. if a handful of exceptions makes it so you cant use these universally i would like to know if splitting, or breaking could be then used universally.
Just want to know what to use when I dont know if one or the other does matter, so using the safe method when you dont know kinda thing.
There still none, Vector is a structure and split/break function are stricture features not just Vector. Note that nodes you see in blueprint are compiled down to virtual machine instructions and structures are just packed variables in memory that can referenced as entire structure or individual variables, so regardless if you break or split, blueprint compiler simply gonna reference that individual variable at the end point output pin that is connected to.
3 Likes
Awesome thanks for the quick reply.