News Forums RAIN General Discussion and Troubleshooting Integrating Rain AI with my code

This topic contains 17 replies, has 4 voices, and was last updated by  Ibrahim 6 months ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
  • #39912


    Thanks for the info. I found out how to get it working. Just use the following formula Vector3(newPosition - oldPosition).normalized. Works like a charm. Got the NPCs to chase the player around and even attack when they get close enough. Now that I have it integrated with my system, it’s just a matter of getting NPCs to do what I want them to do. I see that there’s a great thread about making an NPC wander around. It’s gonna come in handy.



    What I did was to build my own Motor class that sits between rain and our character controller.



    Hey, Sigil and EDarkness, can any one of you help me with this issue explained here:

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.