Download

Changing Component variables via Blueprint

I’m sure this is something painfully obvious that I have missed. Lets say I wanted to temporarily reduce character friction to create a slide effect on a button press, how do I call the ground friction variable from the Character Movement Component? I’ve seen examples of it in Blueprints but the reference to the variable in question doesn’t show up in the “My Blueprint” tab on the left for those examples so it doesn’t look like you need to manually create the variable.

Thanks in advance

In the “My Blueprint” tab select the checkbox “Show inherited variables”.

The “CharacterMovement” variable will appear in the “Character” category.

I meant being able to change the values owned by the object “CharacterMovement”. It’s a combination of a lot of values, just want access to get one of those values and change it for a short duration on a button press.