Search Unity

Question How to fix instantiated prefab rigidbodies not working on button?

Discussion in 'Prefabs' started by shirazusasakiacc, Sep 27, 2021.

  1. shirazusasakiacc

    shirazusasakiacc

    Joined:
    Sep 27, 2021
    Posts:
    1
    I'm trying to spawn an object and then use buttons to control it. I'm using rigidbody to control the spawned object but when I press the button it says "The rigidbody has not been assigned".



    Screenshot (219).png

    Screenshot (220).png

    Screenshot (221).png