News Forums RAIN General Discussion and Troubleshooting Mecanim and Detect

This topic contains 2 replies, has 2 voices, and was last updated by  Robinmoo 1 month, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40459

    Robinmoo
    Participant

    I’m having a problem with mecanim (locomotion) and the detect system.
    When I run it the Ai just walks past the player or into oblivion or the waypoints. Can’t figure out why he doesnt detect the player. Do i have to put something on the player to make it detectable or am I doing somedthing wrong? I can’t figure out what the problem is and why the animation only runs when i place it outside the nodes onto the root.

    • This topic was modified 1 month, 1 week ago by  Robinmoo.
    #40461

    Ibrahim
    Participant

    Did you add an entity to the player so it can be detected using the sensor?

    #40462

    Robinmoo
    Participant

    I got a little bit further. I tried putting an entity on my Player but that however constricted all movement made bij the player so that wasn’t usable. Now I made an Cube as child of the Player and named that playerAspect. As in turn it actually worked. Sometimes the NPC is making weird movement around the player but if it doesn’t come to close it looks actually fine. And i put an entity on that cube of course.

    • This reply was modified 1 month, 1 week ago by  Robinmoo.
    • This reply was modified 1 month, 1 week ago by  Robinmoo.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.