Monkey Frog Studio Posted Thursday at 05:25 AM Posted Thursday at 05:25 AM For whatever reason, when I place a Player, rotate the player to face the direction I want, then add the FPSPlayer script, the camera for the player is facing the wrong direction when I run a test game. It doesn't seem to matter if I've rotated the player model before applying the FPSPlayer script or afterward. But the camera starts facing the direction the player model comes in (before being rotated). The above image shows the direction the player model is facing. The test game window shows the camera is facing the right-side wall. 1 Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio
reepblue Posted 23 hours ago Posted 23 hours ago Line 261 under the Load function, apply this fix. self.camera:SetRotation(0, self.rotation.y, 0) Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.