I tried a few different things but not sure if im going about this the right way.
My player controller holds all of my important vars that i want to control my player except for the groundspeed(for obvious reasons, it resides in CustomPawn default properties)
So if i wanted to display my groundspeed for debugging purposes through canvas...
How would I typecast this Groundspeed var from my PAWN CLASS To my HUD class???
if have tried:
this confuses me.
Thanks for all help.
My player controller holds all of my important vars that i want to control my player except for the groundspeed(for obvious reasons, it resides in CustomPawn default properties)
So if i wanted to display my groundspeed for debugging purposes through canvas...
How would I typecast this Groundspeed var from my PAWN CLASS To my HUD class???
if have tried:
Code:
if ( Pawn != none ) SPawnJ = Pawn_J(Pawn); //like is done with (PlayerController) but errors happen SPawn.Groundspeed+=#.####
Thanks for all help.
Comment