Jump to content
  • CGWorldFrameHitFlags.HitTestLOS


    Pudge
    • Version: All Product: WRobot General Type: Suggestion Status: Not a Bug
     Share

    Hi @Droidz, have a question and suggestion.

    Why, by default, fight class conditions are checking TraceLineGo for ground textures between the bot's position and target's position but doesnt check another types of LOS, considering that you added this as HitTestLOS? For example game objects, I've have noticed that LOS check for this works pretty well. But there is a little measurement error: it returns true when the line between bot's position and target's position is "on the edge" of object model but the bot and the target can attack each other. 

    I recorded a video for some clarity and understandability:

     


     Share


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...