I plan on starting the game with the player in a helicopter, but he needs to be crouching until he's out the door. Is there an easy way with a trigger?
using UnityEngine;
public class StartCrouched : MonoBehaviour
{
void Start()
{
GetComponent<Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion>().GetAbility<Opsive.UltimateCharacterController.Character.Abilities.HeightChange>().StartAbility();
}
}
Attach it to your character, this should give you a good start.