Skip to content

MemoryLeakHub/MovementUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Movement Tutorials

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 .

examples.png

All the Examples with the timestamps:

  1. Transform Position: (00:10)

  2. Transform Translate: (00:40)

  3. Constant movement with Transform Position: (00:59)

  4. Directional Vectors: (01:39)

  5. Stop at Destination Transform Position: (02:07)

  6. Stop at Destination Transform Translate: (02:19)

  7. Moving rotated object with Transform Position: (02:25)

  8. Moving rotated object with Transform Translate: (02:35)

  9. Find distance between two objects: (02:47)

  10. Find direction between two objects: (03:01)

  11. Find direction between two objects Example 2: (03:24)

  12. Move to object single axis: (03:35)

  13. Move to destination for specific amount of time: (03:53)

  14. Move to destination with MoveTowards: (04:18)

  15. Vector3 Distance: (05:04)

  16. Moving with Mathf Lerp: (05:11)

  17. Moving with Vector3 Lerp: (05:47)

  18. Lerp EaseIn: (06:11)

  19. Lerp EaseOut: (06:31)

  20. Lerp BounceOut: (06:35)

  21. How to move with keyboard: (06:48)

  22. Moving Rigidbody with AdForce: (07:24)

  23. AdForce Impulse for Jumping: (07:55)

  24. Moving Rigidbody using Velocity: (08:11)

  25. Moving Rigidbody with MovePosition: (08:25)

  26. Kinematic platform: (08:39)

  27. Rotating with Quaternion Euler: (09:12)

  28. Look at moving object with LookRotation: (09:52)

  29. Look at moving object with FromToRotation: (11:03)

  30. Rotate with Quaternion AngleAxis: (11:30)

  31. Rotate object around another with RotateAround: (11:40)

  32. RotateAround rotating clockwise while looking at target: (12:15)

  33. Two objects rotating looking at each other: (12:35)

  34. Making a small solar system: (12:46)

  35. Following player with camera: (13:07)

  36. Following player with camera smoothly with SmoothDamp: (13:36)

  37. Move camera only after specific distance: (14:16)

  38. Set camera bounds with Matf Clamp: (14:48)

  39. Rotate character with keyboard: (15:25)

  40. Shoot bullets: (15:57)

  41. Projectile Trajectory with Physics Simulate Script: (00:20)

  42. Projectile Trajectory with Separate physics scene: (02:12)

  43. Add bounciness to an object: (03:37)

  44. Projectile Trajectory line with dots: (03:56)

  45. Projectile Trajectory stop line at object: (04:30)

  46. Projectile Trail: (05:08)

  47. Trajectory length and projectile speed: (05:31)

  48. Change speed with mouse: (06:02)

  49. Physics Raycast shoot magnet to object: (06:29)

  50. Pull the magnet: (07:33)

  51. Pull an object with magnet: (07:57)

  52. Create a rope and hook: (08:47)

  53. Pick up object in range: (09:29)

  54. Follow object, snake movement: (10:46)

  55. Follow object, snake movement and grow snake when eat: (11:48)

  56. Follow object with cinemachine: (12:21)

  57. Follow object with cinemachine with bounds: (12:51)

  58. 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.

If you would like to support the channel you can leave a like and subscribe as this helps me a lot!