Monkey Frog Studio Posted December 18, 2025 Posted December 18, 2025 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
Solution reepblue Posted December 19, 2025 Solution Posted December 19, 2025 Line 261 under the Load function, apply this fix. self.camera:SetRotation(0, self.rotation.y, 0) 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Josh Posted 1 hour ago Posted 1 hour ago On 12/19/2025 at 3:55 PM, reepblue said: Line 261 under the Load function, apply this fix. self.camera:SetRotation(0, self.rotation.y, 0) Added to project templates, for Lua and C++. Quote Let's build cool stuff and have fun.
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.