ProjectBorealis / PBCharacterMovement

HL2-style, classic FPS movement for Unreal Engine implemented in C++
https://www.projectborealis.com/movement
MIT License
1.25k stars 164 forks source link

Change UPBPlayerMovement properties #34

Closed clankill3r closed 1 year ago

clankill3r commented 1 year ago

Hi,

How can I change the properties in UPBPlayerMovement? Like what kind of blueprint do I need to create? (I prefer not to change the value in the PBPlayerMovement.cpp file).

This is one of the many things I tried:

Screenshot_20221124_121157

'PBPlayer Movement' does not inherit from 'Character' ( Cast To PBPlayerMovement would always fail).

I understand the error, I just don't understand on where and how to use the SET Air Acceleration Multiplier Node.

mastercoms commented 1 year ago

In this Blueprint, you'd access Get Character Movement and then cast. But no need to even do that. You can change it in the defaults for the Blueprint too, just find the character movement component in your character blueprint's components: components

Name might be different, but hopefully you get the idea.