How to Get position and rotation from an arrow?
I'm trying to create a very simple Portal Like gate, It works ok, but I'm having a hard time trying to set the rotation of the player.
I created an arrow on target portal gate, and what I did, is to get arrow's world location to be teleported, but I can't find how to change orientation of the player, to aim the direction of the arrow.
How can I do this? I tried forward vector also, but didn't work, can someone explain with an example?
asked Nov 27 '16 at 08:24 PM in Blueprint Scripting
I just learned solution for this.
When rotation is needed, Usually you need to get it from Controll Rotation, not the actor or component rotation.
That did the trick.
answered Dec 06 '18 at 03:29 PM
Try it with "Get relative Transform" instead of "GetWorldRotation" With wrold Rotation u are reffering to the SceneComponent in order to your Portal Base Salida and not the arrow...
On GetRealtiveTransform u can click with ur right mouse button and than choose split struct pin to get Location and Rotation
hope that helps :)
answered Nov 27 '16 at 09:25 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here