I’m currently working on a 2.5d sprite-based survival horror game (will transition to full on 3d with models once i figure out how to do that later) i got the player to move, but I want it to face the mouse all .io game style.
Hey there @SSneakythief! Welcome to the community! Good news! You can basically use the same code between a 2.5D and 3D game with minor tweaks! Here’s a video that shows how to rotate something towards the cursor. However, be sure to clamp your player’s rotation to the plane you want so it doesn’t look ‘Up’ or "Down’ to them or the sprite will arc oddly when elevation changes.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Got it to work as i intend after some tribulations that did include having to change what the camera was attached to, along with a few other problems that i was able to solve by myself.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.