FPS game with a crossbow

Hi all,

Hoping someone here can shed some light on an issue i have.
Making a small fps game and i have a crossbow and an arrow both of which are prefabs children of a camera which is not a prefab, The arrows are facing the wrong direction. Is this a small fix or something a bit more complex?

Thanks in advance

Your question is quite unclear / what exactly are you trying to even do? “The arrows are facing the wrong direction.” - doesn’t tell anyone much… are you trying to shoot arrows? Are you trying to align arrows to camera’s transform? Something else? Objects could be facing in any direction under any other parent Game Object (like camera).

But if you are trying to shoot arrows for example, transform forward direction is by default the z-axis of object.

In general, if your object faces along different axis, you should correct it in 3D software of your choice, or parent the object under a gameobject, while aligning it so that the correct part of model faces along z-axis facing in positive direction.

I would recommend going through Unity learn basics tutorials before going further, this is basics stuff which you should understand very well before going any further.

You can find more info here: