News Forums RAIN General Discussion and Troubleshooting CharacterController or rigidbody ?

This topic contains 2 replies, has 2 voices, and was last updated by  jlejoux 4 months, 2 weeks ago.

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

    jlejoux
    Participant

    Hi!

    I was wondering what was the best for me.
    I have a procedurally generated level that is infinite. So I’m using RAIN without any meshcollider.
    For now I have a charactercontroller on every single AI in my scene.

    But what is the main difference between Character Controller and collider + rigidbody ?

    What should I use ?

    Thx !

    #35971

    prime
    Keymaster

    Using a rigidbody/collider combination is good in a lot of scenarios, but doesn’t work as well on uneven terrain as a CharacterController. The CharacterController is more expensive in terms of CPU, but does handle ramps, small step ups, etc.

    #35973

    jlejoux
    Participant

    Ok so I guess I’ll be managing a good “spawn area” aroudn the player so that there is not so many AI running at the same time. This will allow me to keep the CharacterController.

    Thank you

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

You must be logged in to reply to this topic.