Thank You for Help for solving the compiling issue, but still I don’t want to use KismetLibrary, it seems to me I can’t do it without using KismetLibrary.
you can do it without using kismetlibrary, code your own custom getter function GetComponentsBounds by some basic math calculations and use it instead of using kismetlibrary.
The second thing is according to your bp script the AddActorLocalOffst = K2_AddActorLocalOffset and than you can use local variable FHitResult AddActorLocalOffset{}; instead of global pointer *
Thank You very much for solving the Issue, I really appreciate it… at least the code now compiles and get the correct results as expected.
But still looking for the non-kismetlibrary solution