• How to make an entity rotate and face a player
    3 replies, posted
So I am wondering how you would make an entity like a camera rotate to face/look at a player. Kinda like the ceiling turret. I just need to know how I would be able to change the angles so it looks at the player.
Look at the ceiling turrets code. If you have a decent understanding of glua you will probably find you answer in there.
This is what I use [url]https://wiki.garrysmod.com/page/Entity/PointAtEntity[/url]
Thanks crazy, exactly what I was looking for.
Sorry, you need to Log In to post a reply to this thread.