- Home /
Character Controller vs. Kinematic Rigidbody
I'm having trouble with colliders and the characters in my scene. I'm working on a party-based combat scene where you right-click on terrain to move, attack, etc.
I've given my actors in my scene Character Controllers but to accomplish the movement I'm directly manipulating the transform versus moving the character controller.
What I'm having a problem with is detecting collision against static objects in my scene, for instance walls with a static box collider. The actor passes through and I don't receive any collision events either on the static object or on the actor.
Is using a character controller incorrect here, and should I be using a kinematic rigidbody instead? If so, it doesn't seem that kinematic rigidbodies raise collider events (according the the matrix in the Unity doc). What is the correct approach here to 'point and click' actors that respect collisions?
Answer by FramnkRulez · Dec 30, 2013 at 03:28 AM
So reading more, it seems that I should be using CharacterController.Move() or CharacterController.SimpleMove() to have collision detection work properly with a character controller. I'd still be interested in knowing if I am using the right approach for a point-and-click party based scene with collision.
Your answer
Follow this Question
Related Questions
Physics AddForce reduced when 3 objects are colliding 1 Answer
How to trigger different animations depending on where a gameobject collides? 1 Answer
OnCollisionEnter not working with CharacterController 1 Answer
OnCollisionEnter Push Object Problem 0 Answers
Collision Detection in Capsule Collider 0 Answers