Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Space shooter tutorial - how to stop the ship immediately?

Discussion in 'Physics' started by hkdtmer, Jan 4, 2015.

  1. hkdtmer

    hkdtmer

    Joined:
    Apr 2, 2014
    Posts:
    35
    In this tutorial
    http://unity3d.com/earn/tutorials/projects/space-shooter/moving-the-player

    In most traditional shmups, the player's ship will stop immediately after the player released the d-pad. But in this tutorial, the ship will need some time to decelerate before stop completely. Also, if the player pushes the ship to the boundary, the ship will bounce off a bit after released the d-pad.

    Is it possible to disable these behaviors? I tried to fiddle with parameters like drag/mass and even tried to use transform.Translate to move an object but still unsuccessful. Please help, thanks!
     
  2. jaredic

    jaredic

    Joined:
    Jan 4, 2015
    Posts:
    8
    hkdtmer,y have a problem to start player...if y find the solution for for your problem,y will call you