Results 1 to 2 of 2

Thread: again cansee :D

  1. #1

    again cansee :D

    i want to use cansee function but engine use lineofsightto instead cansee for me
    in unreal document epic say

    * ::CanSee
    * Returns true if the specified pawn is visible within
    * our peripheral vision. If the pawn is not our current
    * enemy then LineOfSightTo() will be called instead.

    i set enemy variable in controller class to my enemy but again lineofsightto called instead of can see and ignore fov

    can anybody help me how can i use cansee and dont let engine use lineofsightto instead of cansee

    tnx a lot

  2. #2
    i solved it

    just in use CanSeeByPoints instead and give pawn and enemy location and pawn rotation and CanSeeByPoints calculate lineofsightto with fov included

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts