Rolling towards where you look in 4.18.2

Hello guys/gals

So I’m working on a project involving a rolling ball. Back in version 4.9 I used this blueprint to have the camera rotate, add torque but also roll towards where the player is looking. I recently updated to version 4.18 and the rolling towards where the player looks function is not working. Blueprints doesn’t point to any errors or outdated issues with the blueprint so I’d appreciate any ideas on how to solve this issue.

Here are pictures of the blueprint sections

Thanks again

You can use get Right Vector and get Forward Vector for your movement based on the camera.
Just hooke in your result of your float multiplication into where it says 500000 and the execution pin from your move event.

Note, you might have to use the right vector for up and down and forward vector for left and right. When I made it, it was weird like that. But it works.

Hello, thanks for replying. I tried to the best of my ability to follow you but the end result is that the ball doesn’t move at all. I tried doing the blueprint just as the image above to have the same result as well.

I don’t know what I’m doing wrong.

Can I see your new blueprint?

Here you go

Plug the multiplication node after your axis event node into the vector float multiplication node. Replace the 500000. Though it should still have moved. Can you print out the result of the get forward vector?

Hey sorry for the delay, life got in the way.

I found a solution to my issue. With this bit of BP now the ball rolls towards where the camera is facing.

Thanks a lot for your help too! :slight_smile: