Rigdbody or CharacteCotroller

Hi Everybody
I’m new to Unity Engine
I want to make a side scroller game 2.5D
I’ve been reading unity’s docs for few weeks and i have not figured it out whether to use RigidBody to move my character or CharacterController.:face_with_spiral_eyes:
I don’t want to waste my time write a code with one of them and at the end say to myself i wish i would have used the other one.
So I want to know the advice of you experienced guys.
Thanks in advance
btw I want a controller like TRINE game;)

I think it would be best to use the charactercontroller, but you can use both, just control the character controller.

Hi
thanks for your answer
i have already used charectercontroller buti am not getting the result i want
i wanted to make sure that charectercontroller is fine then work on it little more

use this as a reference Unity 2D tools for game dev – evolved for optimal graphics performance

It depends, if there are specific features of the CharacterController you’d want to use (like the Character Motor or any of the default CC movement scripts), it might be a good candidate. But if you are going to code your movement yourself anyway, and if your game is as physics heavy as Trine is, you’d probably want to use rigidbody, because CC’s aren’t really effected by physics out of the box (like moving platforms, elevators, pushing blocks, physics-based traps like swinging logs and stuff).

Also, CC’s are more cpu-intensive (or at least, they were in 2.x, I’m not sure how much they optimized them in 3.x).