Actor facing a random way

Hi, so it may sound ambitious for someone only on their third game, and this is the simplest of issues. I'm working on a concept for a stealth game. Now the issue I'm having is quite simple but I just can't quite crack it, I want the actor (enemy, not player) to face in a random direction, and change the direction they face every few seconds, but not simply rotating in a circle.

pic.twitter.com/hWV8YI7EQv This is the concept/test enemy design, the triangle is the "Field of vision" if you will, the circle is the actual enemy. So also (if possible), I'd like it to rotate/change direction from the circle, not the middle of the image.

Any help would be greatly appreciated! Thank you!

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    Make your image canvas' larger, put the additional space on the top so the circle sits in the middle of the image.

Sign In or Register to comment.