I added rigid bodies to 2 spheres and then i added a conversion enter script to both of them.By the way one of the spheres was the haracter u control in my game. So, when i played the game and i moved my sphere character towards anothers sphere no collision happend. the other sphere did not move at all. So i dont know know what to do. Ther could be a problem with the script, but i didnt see any errors when i played the game or on the bottom toolbar. Can someone help me figure out wats wrong.
How do you move your “player” sphere?
If it’s a rigid body, make sure you’re using the physical functions (AddForce, etc.).
If you need to move it manually, it would be best to use either a CharacterController or to make the Rigid Body Kinematic.
I found out its my Collision Enter Script. I accidently deleted any errors coming or something. I found out when i looked in the error place and in one of the columns i found an error a semicolin error and i di put my semicolin in the right plkace at the end of me collision enter script. So i probably wrote my script wrong or something
So i suck at scripting and i dont know how to make a collision script for wat im trying to do. It failed before.
im a noob javascripter