From Blue Mars Developer Guidebook
There are security restrictions on this article
This is an Avatar Reality Utilities function.
- ARLookAtEntity(entity, target)
- aim entity at target entity
This function was written to support custom cameras, but it can be useful for any entity that needs to point toward another entity.
function ARLookAtEntity(entity,target) ARLookAtPos(entity,target:GetWorldPos()); end