FPS Character rotation is different in runtime

FPS Player prefab rotation is 180 degree but when in play mode it is 0 degree. Please help on this issue. Thanks


Original Post on Discord

by user 1141289362336784394

Looks like you dont have the script installed (see the red “FirstPersonController” label) - click the red label to ping the npmdef containing the script and drag it into the Dependencies array of your ExportInfo component. Then restart your local server

I added to dependencies but same issue

by user 1141289362336784394

I tried with your first person controller -simple same issue

by user 1141289362336784394

Hi, can you check the camera inside the character prefab if it’s looking into the right direction? I was using this component just yesterday too which worked as expected for me :thinking:

Hi ,camera also facing same direction.

by user 1141289362336784394

If you set the player rotation above 90 degree (say 180) you can reproduce this issue.

by user 1141289362336784394

Thanks, i will try :slightly_smiling_face:

The latest version should fix the issue 3.19.1 (cc @kipash :cactus: )

Just update the engine and it should start working :+1:

you guys are great​:raised_hands: :saluting_face:

by user 1141289362336784394