Linking Capsule Component Scale with Maximum Walk Speed

Hello everyone,

During the development of my game, I became curious about linking the capsule component’s scale with the maximum walk speed. Is there a method to dynamically adjust the scale of the capsule component in tandem with changes to the maximum walk speed? For instance, if I wish to double the size of the actor, I will need the scale to also double, while simultaneously doubling the maximum walk speed. Additionally, I’d like to establish default values, such as setting the scales to 1.0-1.0-1.0 and the default maximum walk speed to 100. This way, any adjustments made would be relative to these default values.

Hello again everyone,

I found how to do it! For those who are interested in this here is the image of how I did it.


Now all is left is, in gameplay if the scale is changed somehow, we need to adjust it again in this blueprint in a way to check if there is any change or not then apply it, that is why I place this in Event tick.

Any and all improvements are welcome! :slight_smile: