lionger.blogg.se

Unity 2d movement script download
Unity 2d movement script download




unity 2d movement script download

from PlayerVelocity/ PassengerMover) then checks for collisions and moves the given object accordingly.

  • Movement takes input displacements (e.g.
  • unity 2d movement script download

  • PlayerVelocity script takes input from the PlayerInput and calculates velocities then outputs displacements.
  • Here's a quick run down of the important scripts/variables: You need to enable "Auto Sync Transformations" under the Physics 2D Project Settings. Opposite controls for facing right Project Usage: ✅ Moving platforms (moves passengers as well) Controls: ✅ Ascend and descend slopes (constant speed) ✅ No rigidbodies / No 2d physics (allows for tight controls) Last tested version of Unity: 2020.1.13.f1 Features: Unity project focused on building a solid foundation for 2d movement (video demo) - feel free to use it!






    Unity 2d movement script download