Attaching a Rigid Body to an object after it is Instantiated.
How can I do this?
Attaching a Rigid Body to an object after it is Instantiated.
How can I do this?
I would suggest you create a prefab object that already has a rigidbody attached.
Or if you are instantiating a scene object, just attach a rigidbody to it prior to instantiation.
That’s not what I wanted. If I wanted it to attach BEFORE, I wouldn’t have asked how to do it AFTER.
gameObject.AddComponent(Rigidbody);
yikes.
sorry bruv.
This is the best way to get people to help you.
Unity3dstudent video