Hi,
So essentially- I’ve created a moving cube pawn, that, upon InputAxis forward moves in it’s local X direction. Problem is, when I run over a hill and the cube flips midair, I don’t want to be able to push forward and have the cube fly in whatever direction X is pointed at, so I figure the best workaround is to set my actor up so that I can’t press forward unless the actor is touching the ground.
Here’s my Level Blueprint code regarding this:
Here’s my Pawn Blueprint code regarding this:
I’m sort of new to Unreal Engine, so explaining things would be very helpful and much appreciated. Thanks!