Not Getting a Result from SuggestProjectileVelocity

Hey,

So, I’ve gone through the lecture and what I’ve got matches what is in the code as far as I can tell but I don’t get the proper FVector when I aim around in the scene, I only get 0.000. What’s really strange is that what is being logged out doesn’t even seem to be a vector but a floating point value.

I’m sure it’s something obvious but I can’t see it. Any help is greatly appreciated.

Here’s a screenshot of what’s being logged out when I play: Picture

Here’s my Github, my AimingComponent.h, and AimingComponent.cpp.

Thanks!

Privacy & Terms