News Forums RAIN General Discussion and Troubleshooting I can't get my AI to even move… help!

Tagged: ,

This topic contains 3 replies, has 4 voices, and was last updated by  GBCoder 2 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39094

    Denko
    Participant

    Hi,
    I’m working with the latest RAIN and Unity 5.2 pro.

    I’m having problems with RAIN. I can’t even get the AI to move.
    My behavior tree is simle: (BT)Enemy > (SEQ)Root > move.

    I’ve done a Capsule-object with Capsule-collider, and put RAIN AI on it.
    Waypoint Route is done, also Navigation Mesh. The body in RAIN is my Capsule (Enemy).

    In MOVE i’ve set Move target to the name of my Waypoint Route.
    And Move speed is 5.
    Behavior tree is also set to this tree.

    Nothing happens, what am I doing wrong?

    Thanks!

    #39096

    Stream
    Participant

    I’m a noob but are you sure you set the Behavior Tree Asset (under Mind Tab) to your Behavior Tree? Okay, I see you said you set it.. sorry it should move, mine did..

    • This reply was modified 4 months, 2 weeks ago by  Stream.
    #39169

    Sigil
    Keymaster

    Sorry it took so long to get to this.

    Check out the starter kit samples on patrolling, in particular the way the behavior tree is setup. Normally you would use a waypoint route node, and put the move node in that. There are a few other details though, so check out the kit first.

    Come back with questions.

    #39524

    GBCoder
    Participant

    I have just started using RAIN, and a similar thing is happening. I had my NPC following waypoints, but when I added the animation, they completely stopped.

    This happened when I added an animation state to the animator in the AI Rig. The it wouldn’t move any after I added the “Walk” animation. When I deleted it from the Animator, the NPC started workin as it should. (not animated though)

    Try removing those animations and see if maybe that’s what’s causing your problem also.

    -David

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.