Addon ID

  • fpc_firstpersoncontroller

Info

  • License MIT License
  • Copyright icon Copyright Blue Shell. All rights reserved.

Statistics

  • Download count20 total downloads
  • Latest download count 15 downloads of latest version
  • Average download count2 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

  • Actions

    Set {my} enabled {0}

    Enable or disable the controller.

    Set {my} speed to {0}

    Set the movement speed.

    Set {my} mouse sensitivity divisor to {0}

    Set mouse look sensitivity immediately.

    Set {my} camera height to {0}

    Set the camera height above the object.

    Set {my} jump impulse to {0}

    Set the upward jump speed.

    Set {my} gravity strength to {0}

    Set the downward acceleration.

    Set {my} ground Z elevation to {0}

    Set the Z elevation the Player falls to.

    Set {my} unadjusted mouse movement {0}

    Set whether the next pointer lock request uses raw mouse movement.

    {my} simulate forward

    Simulate moving forward for this tick.

    {my} simulate backward

    Simulate moving backward for this tick.

    {my} simulate left

    Simulate moving left for this tick.

    {my} simulate right

    Simulate moving right for this tick.

    {my} simulate jump

    Simulate jumping for this tick.

    {my} request pointer lock

    Request pointer lock.

    {my} release pointer lock

    Release pointer lock.

  • Conditions

    {my} is enabled

    True when the controller is enabled.

    {my} pointer lock on click is enabled

    True when pointer lock is requested on left click.

    {my} unadjusted mouse movement is enabled

    True when raw mouse movement is enabled.

    {my} collide with solids is enabled

    True when collisions with Solid objects are enabled.

    {my} default controls is enabled

    True when built-in keyboard controls are enabled.

    {my} gravity is enabled

    True when jumping and gravity are enabled.

  • Expressions

    Speed

    Current movement speed.

    CameraHeight

    Current camera height.

    MouseSensitivity

    Current mouse sensitivity divisor.

    MinPolarAngle

    Minimum vertical camera angle in degrees.

    MaxPolarAngle

    Maximum vertical camera angle in degrees.

    PointerLockOnClick

    1 if pointer lock is requested on left click, else 0.

    UnadjustedMovement

    1 if raw mouse movement is enabled, else 0.

    CollideWithSolids

    1 if collisions with Solid objects are enabled, else 0.

    Enabled

    1 if the controller is enabled, else 0.

    CameraName

    Name of the controlled 3D Camera object.

    DefaultControls

    1 if default controls are enabled, else 0.

    GravityEnabled

    1 if gravity is enabled, else 0.

    JumpImpulse

    Current jump impulse.

    GravityStrength

    Current gravity strength.

    GroundZElevation

    Current ground Z elevation.

    Yaw

    Current horizontal camera angle in degrees.