Player walks through stairs in build, but walks up them like it should in the Unity editor
In my Unity editor when i walk on stairs it just goes up the stairs but when I play the build game the player walks through the stairs. Do any of you know how to fix this? This is the script I use for walking up the stairs.
"
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StairClimb : MonoBehaviour
{
Rigidbody rigidBody;
[SerializeField] GameObject stepRayUpper;
[SerializeField] GameObject stepRayLower;
[SerializeField] float...
Player walks through stairs in build, but walks up them like it should in the Unity editor
"
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StairClimb : MonoBehaviour
{
Rigidbody rigidBody;
[SerializeField] GameObject stepRayUpper;
[SerializeField] GameObject stepRayLower;
[SerializeField] float...
Player walks through stairs in build, but walks up them like it should in the Unity editor