This is the repo for both of the video [Part 1](ULTIMATE MOVEMENT Guide for Unity - Part 1 - YouTube) and [Part 2](ULTIMATE MOVEMENT Guide for Unity - Part 2 - YouTube) - ULTIMATE MOVEMENT Guide for Unity. It consists of 58 examples of different types of movement. The project is made so you can test everything yourself. Every time you want to start a new example first click on the Reset button -> Example Number -> TRIGGER .
-
Transform Position: (00:10)
-
Transform Translate: (00:40)
-
Constant movement with Transform Position: (00:59)
-
Directional Vectors: (01:39)
-
Stop at Destination Transform Position: (02:07)
-
Stop at Destination Transform Translate: (02:19)
-
Moving rotated object with Transform Position: (02:25)
-
Moving rotated object with Transform Translate: (02:35)
-
Find distance between two objects: (02:47)
-
Find direction between two objects: (03:01)
-
Find direction between two objects Example 2: (03:24)
-
Move to object single axis: (03:35)
-
Move to destination for specific amount of time: (03:53)
-
Move to destination with MoveTowards: (04:18)
-
Vector3 Distance: (05:04)
-
Moving with Mathf Lerp: (05:11)
-
Moving with Vector3 Lerp: (05:47)
-
Lerp EaseIn: (06:11)
-
Lerp EaseOut: (06:31)
-
Lerp BounceOut: (06:35)
-
How to move with keyboard: (06:48)
-
Moving Rigidbody with AdForce: (07:24)
-
AdForce Impulse for Jumping: (07:55)
-
Moving Rigidbody using Velocity: (08:11)
-
Moving Rigidbody with MovePosition: (08:25)
-
Kinematic platform: (08:39)
-
Rotating with Quaternion Euler: (09:12)
-
Look at moving object with LookRotation: (09:52)
-
Look at moving object with FromToRotation: (11:03)
-
Rotate with Quaternion AngleAxis: (11:30)
-
Rotate object around another with RotateAround: (11:40)
-
RotateAround rotating clockwise while looking at target: (12:15)
-
Two objects rotating looking at each other: (12:35)
-
Making a small solar system: (12:46)
-
Following player with camera: (13:07)
-
Following player with camera smoothly with SmoothDamp: (13:36)
-
Move camera only after specific distance: (14:16)
-
Set camera bounds with Matf Clamp: (14:48)
-
Rotate character with keyboard: (15:25)
-
Shoot bullets: (15:57)
-
Projectile Trajectory with Physics Simulate Script: (00:20)
-
Projectile Trajectory with Separate physics scene: (02:12)
-
Add bounciness to an object: (03:37)
-
Projectile Trajectory line with dots: (03:56)
-
Projectile Trajectory stop line at object: (04:30)
-
Projectile Trail: (05:08)
-
Trajectory length and projectile speed: (05:31)
-
Change speed with mouse: (06:02)
-
Physics Raycast shoot magnet to object: (06:29)
-
Pull the magnet: (07:33)
-
Pull an object with magnet: (07:57)
-
Create a rope and hook: (08:47)
-
Pick up object in range: (09:29)
-
Follow object, snake movement: (10:46)
-
Follow object, snake movement and grow snake when eat: (11:48)
-
Follow object with cinemachine: (12:21)
-
Follow object with cinemachine with bounds: (12:51)
-
Snake game eat and increase movement speed: (13:11)
If you would like to see more Guides for Unity, adding more examples for existing ones or completely new series and you have ideas or something you are interested in. contact me or write in the comments of some of the videos.