Hello, I have a problem with FPS Character Controller collisions detection. I'm using this script for a Jump pad object:
using UnityEngine;
using System.Collections;
public class TriggeredJump : MonoBehaviour {
public Rigidbody player;
public float fForce;
void OnTriggerEnter(Collider other)
{
other.rigidbody.AddForce(Vector3.up * fForce);
print("Collision");
}
}
I added a rigidbody to my player Controller to apply the AddForce, but it doesn't work. For other game object it works fine, for example for a sphere I created.
Any ideas that can help me? :-) Thanks, Erhan