custom component - how to get owner member variable?

i’d like set a variable** float** MaxSpeed in my actor class ,
for now im coding the movement component , it should get the ** float** MaxSpeed from its owner. how could i do that?

cast to owner class? but that wont work with different classes, right?


seems like the only i can do is to cast to owner class:)

Not sure what you mean by “only”, considering that is the correct approach. :slight_smile: