New collision script in 3D

This commit is contained in:
2022-03-02 09:36:38 +01:00
parent fd3ef750b6
commit be15fd213a
4 changed files with 73 additions and 3 deletions

View File

@@ -7,8 +7,8 @@ public class PlayerMovement3d : MonoBehaviour
public float movespeed = 15f;
public Rigidbody rb;
Vector3 movement;
Vector3 rotation;
public Vector3 movement;
public Vector3 rotation;
private float x, y;
void Update() {