Skip to main content

Questions tagged [character-controller]

Filter by
Sorted by
Tagged with
1 vote
2 answers
472 views

I've recently been attempting (and failing) to create my own character controller for my 3D Unity game for around a week. I hate the Unity rigidbody physics system for making a character controller, ...
Callumari's user avatar
0 votes
0 answers
30 views

When connecting a Character Controller component to the character in Unity, it starts to rotate uncontrollably. Without the Character Controller, everything works fine, but the character does not walk....
Pixel Play's user avatar
0 votes
1 answer
122 views

I encountered a problem in Unity related to the Character Controller, namely with checking whether the player is on the ground or not (isGrounded). A player walking down a slope with a minimum angle ...
Dexport's user avatar
0 votes
0 answers
72 views

I am developing an endless runner mobile game, Similar to Subway Surfers. I make my player character rotate slightly left or right and then return to facing forward when sliding left or right. The ...
Achie1's user avatar
  • 181
0 votes
1 answer
85 views

I have a Unity CharacterController, that can detect collisions using the following code: ...
Kokodoko's user avatar
  • 117
0 votes
0 answers
77 views

I'm making a basic 3D First Person project using the movement code below, but I can only jump at a certain angle. How can I fix this so that my character can jump anywhere? ...
MarsDarklighter's user avatar
3 votes
1 answer
872 views

I would like some industry advice. I feel like the starting part to every game I create is the character controller. My goal is to create a solid base character controller that I can expand upon for ...
Jacob Edie's user avatar
1 vote
1 answer
2k views

The Context In Godot 4.1, I have a third-person character controller. It's a CharacterBody3D with a child Node3D called PlayerContent. The visual components of the character (model, etc.) are all ...
Legoman's user avatar
  • 173
0 votes
2 answers
152 views

It's probably senseless to post my code because it simply takes a hard-stop approach when it encounters anything in the grid that is impassable (well, I've attempted to check -20/+20 deg, then -40/+40 ...
iPaul's user avatar
  • 1
0 votes
1 answer
429 views

I'm making a simple character controller. Each frame the player moves by moveDistance units in the moveDir direction. I'm ...
EEAH's user avatar
  • 113
0 votes
1 answer
80 views

My character is facing the direction its moving to, but when it stops moving, it rotates back to facing the world z axis.It rotates back to "how it was". ...
Solodobo's user avatar
0 votes
1 answer
1k views

The character in my game has humanoid feature. I have unchecked "Apply Root Motion" in Animator component and use scripts for its movements. I want to implement a Ledge Grab Jumping movement....
Achie1's user avatar
  • 181
0 votes
1 answer
64 views

When I press play my character controller turns black, the scale on the z axis is 0 and all the children are not visible. Now the thing this only happens when I press play — if I don't, everything is ...
Sajawal Hassan's user avatar
0 votes
0 answers
122 views

I am really enjoying the use of charactercontroller, but it being limited by a y-axis aligned collider is a real annoying limitation when I am using a 'character' with a very different shape (like a ...
Weckar E.'s user avatar
  • 842
1 vote
1 answer
813 views

I was using Unity's Character Controller component, but I found it very limited and wanted to tweak some things. I thought about creating my own character controller from scratch, but it would be much ...
Alexandre's user avatar
  • 150
0 votes
1 answer
126 views

I'm currently trying to figure out two things for my character's movement and animation. A better/faster way to track when movement stops than the IsSleeping method. A way to track which direction my ...
EvelynSays's user avatar
0 votes
3 answers
3k views

I'm struggling with a wee issue where if my character walks up a slope he slides back down when at rest, and bounces down when running down the slope. I've followed a few videos but none seem to ...
Sam Law's user avatar
0 votes
0 answers
2k views

I'm starting to work on the AI for my game, and one character will need to wander around aimlessly until one of its other states are triggered. With that, and after plenty of searching, I found a ...
Taco's user avatar
  • 326
0 votes
1 answer
2k views

I'm making a 2D platformer game with the default Unity 2D physics. I am implementing slopes, but my player slips down the slope because of the physics. Here is the code I use for the player movement: ...
Santiago Padilla Zambrano's user avatar
0 votes
1 answer
562 views

I'm having very weird problems with my player's vertical movement. I'm using a Character Controller component with a capsule collider and no rigidbody. For testing purposes, I've ended reducing my ...
correojon's user avatar
0 votes
1 answer
1k views

First post here. So I am a newbie to Unity and am willing to create a general character controller script to base my future characters. I understand a character's mechanics are pretty design (UX) ...
cbugk's user avatar
  • 103
2 votes
1 answer
2k views

I'm making a first person game and when I jump and my character gets close to the top of the wall, the vertical movement stops, jitters, or suddenly snaps to the top of the wall. Video Here is my ...
PWalkersCrisps's user avatar
0 votes
0 answers
54 views

I am trying to move a ball using Unity's character controller component. I want to move the ball along the twisted track so that it can go upside down. Below is the video of the problem when moving ...
Naresh's user avatar
  • 129
1 vote
1 answer
1k views

I have a Rigidbody character controller (Unity, C#) which I'm trying to make work seamlessly when walking on sloped ground. I've got it working fine walking up and down a slope by changing the forward ...
Relativ9's user avatar
0 votes
0 answers
99 views

In my 2D Platformer character controller that has both a wall jump and a double jump ability, how would I approach implementing a feature that stops the player from returning to the wall they ...
Ben's user avatar
  • 517