Questions tagged [character-controller]
The character-controller tag has no summary.
54 questions
0
votes
1
answer
86
views
Decelerating player's momentum without changing direction
I'm adding deceleration to my player character, decreasing their velocity over time when the player releases the direction keys.
With the code below, at non-perfect angles, the character seems to re-...
0
votes
0
answers
37
views
Need help with 2D player controller
I'm trying to create a 2D side-scrolling player controller like in Terraria, but I can't get the delta time right. If I set my laptop's mode to battery saver, my character jitters (from dt jitters), ...
1
vote
2
answers
488
views
How do I implement the "collide and slide" algorithm in Unity?
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, ...
0
votes
1
answer
121
views
How to instantly stop when moving the character with AddForce?
I made character movement using AddForce. But I don't understand how to get the desired effect. I need that when I release a movement key (for example WASD) the ...
0
votes
0
answers
31
views
When connecting a Character Controller component to a character, it starts to rotate uncontrollably
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....
1
vote
0
answers
115
views
How to Prevent Character Controller Descent at Platform Edges When Using a Capsule Collider
CONTEXT: I am implementing a basic 3D character controller from scratch in Unity. For collisions, I do a capsule cast in the direction of the player velocity and use the collide and slide algorithm to ...
0
votes
1
answer
132
views
Character Controller isGrounded reports false when descending slopes
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 ...
1
vote
2
answers
204
views
Why does my character not move together with the moving platform?
I have a game with a player controlled by a CharacterController.
I also have a MovingPlatform.
When the player lands on the moving platform, it becomes a child object of it, so that it should move ...
0
votes
0
answers
73
views
Inconsistent jump height when rotating character left or right
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 ...
2
votes
2
answers
1k
views
Should a CharacterBody3D be the root of a character, or a child node?
I'm watching a tutorial on setting up a 3D player character in Godot, and at around 7:45, it shows CharacterBody3D as the root node.
I'm wondering if this is ...
0
votes
1
answer
87
views
In Unity, how can a regular RigidBody know if it collided with a CharacterController?
I have a Unity CharacterController, that can detect collisions using the following code:
...
0
votes
0
answers
48
views
Weird corkscrew rotation on my fps controller
I recently started work on a new game and was making a first person controller. However, this problem came up.
My problem
I played around with it and followed multiple tutorials, but none worked.
...
0
votes
0
answers
79
views
First person jump only works at certain angles
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?
...
4
votes
1
answer
1k
views
Character controller that can handle sloped terrain and boxy ledge traversal
I am working on a character controller for a 3D platformer in Unity. I cannot find an approach that satisfies me.
I have experimented with these approaches in order to learn about their virtues and ...
3
votes
1
answer
877
views
How are character controllers built upon complex gameplay systems?
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 ...