C3434 Posted July 26, 2023 Share Posted July 26, 2023 I am making a character that has an asymmetric design, and would like to have different sprites for when the character is facing left or right. I used the code found at Most of it works, but I cannot get a proper return value from "TheCamera:GetHeadingTarget()". No matter how I turn the camera it always returns the starting degree of 45. Even when I use GetHeading instead of GetHeadingTarget. Here is my whole character file if you need that. myne.lua Link to comment https://forums.kleientertainment.com/forums/topic/149879-cant-find-camera-rotation/ Share on other sites More sharing options...
Luluie1 Posted August 27, 2023 Share Posted August 27, 2023 I have the same problem and have been trying back and forth for a few days. Strange thing is, you can change the value with TheCamera:SetHeadingTarget to something and the function GetHeading or GetHeadingTarget will return that new value. But nothing happens. Did you find a solution yet? Link to comment https://forums.kleientertainment.com/forums/topic/149879-cant-find-camera-rotation/#findComment-1661888 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now