So, I am making a game that involves a floating jet bike made up of an empty parent with multiple objects and a camera as children. All colliders are enabled. All rigidbodies are kinematic(except on quads). I was trying to solve a collision problem by switching to using forces, now I have a movement problem, as in not being able to move, period.
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
public float Speed;
private Rigidbody rb;
void Start()
{
rb = GetComponent<Rigidbody>();
}
void FixedUpdate (){
float moveVertical = Input.GetAxis ("Vertical") * Speed;
float moveHorizontal = Input.GetAxis ("Horizontal");
rb.AddForce(moveHorizontal,0f,moveVertical);
}
}