Search Unity

Object rotates after applying movement control scripts

Discussion in 'Scripting' started by paulojorgeproenca, Jan 14, 2022.

  1. paulojorgeproenca

    paulojorgeproenca

    Joined:
    Dec 30, 2021
    Posts:
    1
    Hi guys need some help over here. I'm new into unity and i have to make a spaceshooter for my class. I already done some thing like move the player detect collisions, instantiate asteroids and enemies... and now I was trying to make some visual changes by using new assets.
    The thing is before everything was running smooth but now when I put de new ship on the scene and put then movement control script then ships rotates itself. Any ideas why this happens??
     
  2. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    Maybe the asset has its own scripts? Maybe there's some colliders interacting that you didn't have before?