Search Unity

Instantiated objects not moving with applied force.

Discussion in '2D' started by awk777888, Jan 24, 2019.

  1. awk777888

    awk777888

    Joined:
    Aug 24, 2018
    Posts:
    21
    After doing the Space Shooter project I wanted to start my own project only this time in a 2D space and scrolling right to left instead of up and down. But after I Instantiate the shot the forces I am applying to the shot via the mover.cs script, however the shot stays in the place it spawned in. What is going on and how can I fix it? :)


    https://gist.github.com/awk888/cf701492351b868dc1c9481be000aa32.js
     
  2. PRABHBIR123

    PRABHBIR123

    Joined:
    Apr 9, 2017
    Posts:
    72