[Solved] Ball not moving after Prefab

I dropped the ball into Prefabs along with everything else, following this video…
and now when I press play, the ball does not move along with the paddle.
It does launch and bounce around the play scene as expected.

I made sure the script it still attached and that the paddle is also attached to the script, any other suggestions would be appreciated.

Solution :: When I made the paddle and ball into prefabs, I realized I needed to reconnect the paddle to the ball in the inspector window under ball.cs… however I was dragging the prefab from the asset window. This was incorrect, I fixed the problem by dragging the paddle object from the hierarchy and dropping into the script for ball.cs.

Thank you so much. This helped me a lot.

Privacy & Terms