- Home /
              This question was 
             closed Jul 21, 2017 at 05:20 PM by 
             tanoshimi for the following reason: 
             
 
            Problem is not reproducible or outdated
 
               Question by 
               gigilo10 · Jul 21, 2017 at 05:20 PM · 
                scripting problem  
              
 
              The variable rb of playermovemment has not been assigned.
using UnityEngine;
public class playermovemment : MonoBehaviour {
 public Rigidbody rb;
 // Update is called once per frame
 void Update ()
 {
     rb.AddForce(0, 0, 200);
 }
}
               Comment
              
 
               
              Follow this Question
Related Questions
Occlusion Culling with the OVRCameraRig (Oculus Rift)? 0 Answers
Make a sprite have the same color as the main light of the scene 1 Answer
Changing animation duration 0 Answers
playerprefs spawning errors. 1 Answer
Making a gameobject inactive and locating a clone. What's wrong with the script? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                