Hi, I am using a player controller component with the FPSWalkerEnchanced script to move my character around. Everything works perfectly except when colliding with a moving object against the direction it is moving, if the character presses into it enough they can pass through it. Is there a way to fix this? The moving objects move with a very simple movement script:
using UnityEngine;
using System.Collections;
public class Mover : MonoBehaviour
{
public float moveAmount = 5f;
// Update is called once per step
void FixedUpdate ()
{
transform.Translate( new Vector3(moveAmount, 0f, 0f), Space.World);
}
}
Just incase it’s worth noting, the moving platform has a box collider and rigidbody.