ok i was trying to figure it out on my own but before i delete some things i probably shouldnt i figured to ask here first
Ok so i get this message here:
“cant add component characterController to fighter because it conflicts with the existing BoxCollider2D derived component” (it basically stops me from adding it)
Before i tried to add it in i added a box collision for the floor and the character (along with rigidbody2D) so the character wont fall through the ground but when i try to add that Character controller component it blocks me. what am i supposed to do? was i supposed to do the Component for character controller? add it before i did that? i watched a video and they guys did the collision boxes before that. so im confused now. Im trying to get to where i can move the character with the keyboard to test
Thanks
The CharacterController component is its own capsule collider. So it doesn’t need another collider, and you can’t have 2 collider components on the same GameObject (if you need additional colliders you attach them to child objects). But a capsule collider is a 3D collider, not 2D. If you’re creating a 2D game, I don’t believe the CharacterController is intended for that, but I haven’t personally tried to use it that way.
figured it out earlier that day i asked here. i just removed the Character controller component since i had the capsule collider and it worked. ive been trying to follow youtube tutorials which were confusing how every other person.
Thanks anyway
But i do have a new current issue with the Unity program. im wondering why when im dealing with the “Animator tree” to the right of its functions why i can only select “Blend” and cant seem to search Run, jump etc etc. heres a pic below. i was trying to follow this tutorial on animation transitions and every youtuber seemed to have a different set up than mine. pic below. so thats my new brick wall. im trying to figure out a way around it (?) Basically i have my xbox one controller moving my standing sprite back and forth but im trying to get it to transition into the running sprites i have or transition into the jump animations. Ill be checking in periodically here for a response while i figure it out.
