In general, there are two common types to the character controller, that are first person controller and third person controller. OnControllerColliderHit is called when the controller hits a collider while performing a Move. void Start () basic one found on unity I setup just to test this. Place your Character Controller in the Scene (Or you can create one by following this tutorial) Create a new script, call it "SC_MovingPlatform" and paste the code below inside it: We then move the controller to that point, plus the radius of the controller (shown in red). Simple Tap-To-Move Character Controller for Unity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |