I am trying to make an attack where the player shoots an arrow at a target but and it automatically will go to it. I have it kind of working but one problem I have is the mesh rotation does seem to be following the velocity and I have the option marked as true, any thoughts?
Movement Components only care about what’s at the root of the actor. Drag the mesh there to make it the root.
I changed it to be the root and it still just floats vertical
How is the mesh oriented? Where is the X? It’s the UE’S forward. Double click the asset in the content browser to find out.
Chances are it was exported facing the wrong way. Either fix it outside the editor and reimport or use the modelling tools - I think this can be done inside the editor these days.
the x is forward on the mesh too
With all that in mind, could you post the script that spawns the projectile and applies velocity. Also:
I have assumed so far that it was a typo and you meant ‘does not follow’. Could you elaborate briefly on the current observed behavior vs what you want to achieve?
Wow i cant believe I didnt see that typo. Yes I meant does not follow, what I mean by that is I want the arrow to point in the direction it is going, which I thought the “rotation follows velocity” option would rotate the arrow depending on the velocity.
I have made an arrow before that did follow the velocity but that was some time ago and im not sure what i have done different.
The first is how I spawn the arrow and the second is the begin play event of the arrow