I’m trying to add impulse to an object based on its forward movement.
So I am getting forward vector length. And trying to add impulse to the object so it goes left or right. I’m no math wiz so here I am speaking help. Maybe I’m overthink it and it’s as simple but anyone have thoughts on this?
I get players forward vector, and right vector from the players rotation.
Pass it to the event on the ball which adds force using the forward vectors * a power variable.
Then on the ball it event ticks for short while applying force using the players given right vector * a curve value – which is then either applying direct for right curve or multiplied -1 for left.