Download

Set linear velocity on rotated actor

Hey, i’m trying to make a pickup and throw system, the character is on third person, currently i’m working on the throw system.
In my current approach, when i pressed x key, an actor spawn in front of my character, the actor its just a sphere component attached to the root component, and an arrow component to seee where the actor is “looking”; after a couple seconds the actor is thrown, so the actor seems to spawn well (looking in the same direction of the character), but when the actor is throw the direction of movement don’t match well.
The functionality is basically, spawn an actor ahead and in front of the character, also rotated based on character facing, then after a time activate physics and set linear velocity in direction of actor facing.
I attached the images of what i’m doing now. (None animation, pickup, or other functionalities )