Results 1 to 2 of 2

Thread: again cansee :D

  1. #1
    MSgt. Shooter Person
    Join Date
    Feb 2011
    Posts
    81

    Default again cansee :D

    hi
    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
    MSgt. Shooter Person
    Join Date
    Feb 2011
    Posts
    81

    Default

    i solved it

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


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.