Jump to content

Turn


Alienhead
 Share

Go to solution Solved by Alienhead,

Recommended Posts

Something not quite right with Entity:Turn

My app kept hanging up and i couldn't figure out why,  after a few hours of tracing where it was locking at I came to this.

self.camera:Turn(0,0,2, true)

I eventually got it to work with this work around

 

                    local anum = Vec3(0,0,2)
                    self.camera:Turn(anum, true)

 

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

Hmmm after investigating it further, it's just messed up somewhere.. I get random freezes when I attempt to turn the camera on it's z axis..  some values work.. others lock it up.. dunno. 

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...