Hello everybody,
i want to create some Arrows in my programm looking into a specific Quaternion (Unitys Vectors for Rotation).

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:

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.