Two questions:
First I was trying to expose a new variable in the TankAimingComponent.h file.
I set it up like this:
UPROPERTY(EditDefaultsOnly, Category = Firing)
bool UseHighArc = false;
I compiled but the aiming component still shows none of its properties in the blueprint window. Is there a way to fix this or is there a better solution. I thought about adding the variable in the tank.h and the referencing that, but I couldn’t figure out how to get that working either.
My second question is; when placing and moving objects in unreal is there a way to get that object to snap to the surface under the cursor. I know about END, but that’s only good for the ground and you have to have aligned the object already in the horizontal axis.
Thanks!