YouGroove Posted August 3, 2013 Posted August 3, 2013 I would know how to to for : Know if a character is facing a golbin within some angle. How to calculate that angle ? I am trying to achieve somehting like : If player.AngleToEntity(Goblin) <45 then player.facingGoblin = true end I gonna throught Goblin script, found Atan and Yaw variables but didn't understood how it works ? how ot use it ? Quote Stop toying and make games
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.