/// --------------------------------------------- /// Ultimate Character Controller /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- namespace Opsive.UltimateCharacterController.Objects { using UnityEngine; /// /// Interface for any object that is kinematic and can have forces applied to it. /// public interface IForceObject { /// /// Adds a force to the object. /// /// The force to add to the object. void AddForce(Vector3 force); /// /// Adds a force to the object. /// /// The force to add to the object. /// The number of frames to add the force to. void AddForce(Vector3 force, int frames); } }