Jump to content

Recommended Posts

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

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...