Search Results for

    Show / Hide Table of Contents

    Interface ICharacterController3D

    Interface for character controllers.

    Inherited Members
    IPhysicAction3D.UserData
    IPhysicAction3D.InternalController
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public interface ICharacterController3D : IPhysicAction3D

    Properties

    FallSpeed

    Gets or sets the fall speed.

    Declaration
    float FallSpeed { get; set; }
    Property Value
    Type Description
    float

    Gravity

    Gets or sets the character gravity.

    Declaration
    float Gravity { get; set; }
    Property Value
    Type Description
    float

    JumpSpeed

    Gets or sets the jump speed.

    Declaration
    float JumpSpeed { get; set; }
    Property Value
    Type Description
    float

    MaxSlope

    Gets or sets the maximum slope.

    Declaration
    float MaxSlope { get; set; }
    Property Value
    Type Description
    float

    OnGround

    Gets a value indicating whether this character is on the ground.

    Declaration
    bool OnGround { get; }
    Property Value
    Type Description
    bool

    StepHeight

    Gets or sets the step height.

    Declaration
    float StepHeight { get; set; }
    Property Value
    Type Description
    float

    Methods

    Jump()

    Makes this character jump.

    Declaration
    void Jump()

    Jump(Vector3)

    Makes this character jump.

    Declaration
    void Jump(Vector3 jumpDirection)
    Parameters
    Type Name Description
    Vector3 jumpDirection

    The direction.

    SetVelocity(Vector3)

    Sets the character velocity.

    Declaration
    void SetVelocity(Vector3 velocity)
    Parameters
    Type Name Description
    Vector3 velocity

    The velocity vector.

    Teleport(Vector3)

    Teleports the specified character.

    Declaration
    void Teleport(Vector3 newPosition)
    Parameters
    Type Name Description
    Vector3 newPosition

    The new position.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX