Hey - I’m still fairly new to c++ oop and I was wondering that if I declare a static variable inside the pawn’s .h, what are the rules governing its persistence?
Let’s say I have this static var modified inside an overridden tick function, to keep track of old velocity for various movement reasons in the pawn cpp. Is this ‘safe’? Does the variable persist until the pawn instance is destroyed in the level/world?
Thanks!