Problems creating an Arrow pointing at a Quaternion

Hello everybody,

i want to create some Arrows in my programm looking into a specific Quaternion (Unitys Vectors for Rotation).
6713650--771790--upload_2021-1-11_21-13-3.png
i created a Script like this but it faces to the Quaternion of the target but with the wrong axes. Like the Arrow isn’t pointing to this point:
6713650--771796--upload_2021-1-11_21-15-28.png
I would love to hear some feedback

Regards
Pixelschwall

6713650–771802–Arrow2.cs (468 Bytes)

LookRotation will always point the Z axis towards the target direction. The simplest solution is to reorient your arrow model to be pointing at positive Z by default.

And if you cannot modify the geometry yourself, the next best way is to create a prefab containing your arrow but with an extra blank GameObject at the root, then within that prefab orient your arrow so it is +Z.