- Home /
Question by
C4sh · May 16, 2012 at 01:25 PM ·
rigidbodycharactercontrollerforceenemies
Enemies movement
What is the best way of moving my enemies? - A CharacterController - A RigidBody and applying forces to this Rigidbody - moving them with transform.position
I've tried with CharacterController but had problems so far when I made my enemies had to follow the Player's character and with transform.position it's not so realistic. I wonder what is the usual way of doing this.
Thanks!
Comment
Best Answer
Answer by Berenger · May 16, 2012 at 03:51 PM
It depends of your needs. Character controller is usefull if you need to know from where a direction came from, if you need to climb steps and other stuff. I find it rather heavy personally. If a rigidbody is enough, then go for a rigidbody. There is scripts using them on the wiki.