Trying to send float value across blueprint interface.

It’s the worst possible solution that works:

image

When you drag the slider, it fires as often as it can. But perf is not an issue if you just use it here like this. No need to demonise it.

The thing is it will stop working correctly if you have more than 1 pawn. That node gets the 1st actor it can find, not necessarily the one you want. It may work now, it may not work tomorrow or after shipping.


Why do this? How many pawns do you have? If you have 1, possess it and get it from the framework.


Also, not only are you’re sending the incorrect message (note the yellow icon mentioned in the posts above), but this utterly defeats the use of an interface. That node already returns the correct type:

image

Call what’s needed as is. No interface needed, no casting.