GetShootAtPos()


Module: Entity

Summary:

Gets the position an attacker would shoot at to hit this entity.For AI or player this is the eye position.For other entities it's the tag_eye if there is one else the center of the entity bounding box.



Call this on:

<entity> An entity



Example:

targetPos = self.enemy GetShootAtPos();