Hey i have been trying to add a movement to the character in 2D space. The code is working perfectly. I have heard that using Time.DeltaTime is used to make the perticular action frame rate indepented. So i have added time.Delta time at the end of the movement code. But when i add the Time.Deltatime in the code it’s slowing down the movement and also the charatcer feeling so jerky!.When i remove it, it’s working fine. Why is that happening …
Remove the time.deltatime, if your game is runnning at 60fps, time.deltatime will return 0,016666666. thats why its slowing your movement. But the way you are moving the rigidbody is allready framerate independant, because physics runns at a fixed rate
Thank you so much brother.