Im trying to make a JumpPad that automatically jumps your charater like the ones in geometry dash
I wrote this code to the JumpPad but when my charater goes over it I get this error code: MissingComponentException: There is no ‘Rigidbody2D’ attached to the “JumpPad” game object, but a script is trying to access it.
You probably need to add a Rigidbody2D to the game object “JumpPad”. Or your script needs to check if the component is attached before using it.