Showing results for

player

movement

on catlikecoding.com
catlikecoding.com › unity › tutorials › prototypes
Maze 2
...Give the player object a Player
component with configurable movement speed, rotation speed, and mouse sensitivity, set to 4, 180, and 5 by default...
catlikecoding.com › unity › tutorials › movement
Sliding a Sphere
...tutorial series about controlling the movement of a character. Specifically, we'll slide a sphere based on player input.
This tutorial is made with...
catlikecoding.com › unity › tutorials › movement
Orbit Camera
...Camera-Relative Movement
At this point we have a decent simple orbit camera. Now we're going to make the player's movement input...
catlikecoding.com › unity › tutorials › movement
Rolling
...Vector3 movement = body.velocity * Time.deltaTime; movement -= rotationPlaneNormal * Vector3.Dot(movement, rotationPlaneNormal);
Air and Swim Rotation
If makes sense that the ball rolls when...
catlikecoding.com › unity › tutorials › movement
Climbing
...This is the eighth installment of a tutorial series about controlling the movement of a character. It adds support for climbing vertical surfaces.
This...
catlikecoding.com › unity › tutorials › prototypes
Bouncy Ball Shooter
...To prevent teleportation through balls we slow down the player's movement by using Vector2.SmoothDamp
in Player.UpdateState
, but only when its distance...
catlikecoding.com › unity › tutorials › hex map
Hex Map 19
...is rather slow. Player's don't want to wait that long while playing a game. You could make unit movement speed a configuration...
catlikecoding.com › unity › tutorials › swirly pipe
Swirly Pipe, a Unity C# Tutorial
...The player object itself can actually stay put at the origin. We can provide the illusion of movement by adding an avatar with a...
catlikecoding.com › unity › tutorials › movement
Custom Gravity
...For example, when gravity aligns with the X axis we can only control movement along the Z axis. Movement along the Y axis is...
catlikecoding.com › unity › tutorials › maze
Maze, a Unity C# Tutorial
...Also give it an Update
method that moves the player when an arrow key is pressed. Movement should only happen if the edge we...