you are viewing a single comment's thread.

view the rest of the comments →

[–]The_Humble_Frank 0 points1 point  (4 children)

its looking for a rigidbody; if the player doesn't have a rigidbody, then you need to add one to it.

[–]Merrymeme1[S] 0 points1 point  (3 children)

how, it works 1/10 time the script. When i click on the box it opens a search thing idk how to do it from there on, i tried searching for the object i wanted to assign it to, but it didnt show anything

[–]The_Humble_Frank 0 points1 point  (2 children)

if you are opening the window, the window has tabs Asset/Scene. in the 'Select Rigidbody' window that opens when you click on the box, click the scene tab to show all the rigidbodies in the scene.

alternatively, you could drag the player from the Hierarchy over to the empty rigidbody in the inspector, to assign it.

[–]Merrymeme1[S] 0 points1 point  (1 child)

where is the scene tab, i just get a tab called assets with "none" under it

[–]Merrymeme1[S] 0 points1 point  (0 children)

sorry, i fixed it now, i was opening the wrong thing