Camera and Input Documentation:

  1. CameraCollision Script Parameters (Section 2.1.2)

    1. Character Rep

      1. This value should be set to the “Character” gameobject.

    2. Player Offset

      1. This value determines where the focus of the camera’s look at function is in relation to the character rep’s location. Normally only the Y value is adjusted so that the camera is not looking towards the players feet.

    3. Movement Speed

      1. This value is the speed that the camera moves forward and backwards at when preforming its primary function. A speed value that is too high may seem jarring, while a speed value that is too low may allow the user to see the camera clipping through an object for a fraction of a second or possibly longer.

    4. Camera Clip Layer

      1. This layer defines what the camera tries to avoid clipping with. This script will not function properly if it is attempting to avoid clipping with the Projected Player or Ragdoll (See Section 1.2 for setting up layers). Use the minimum distance parameter for problems with the camera clipping with the character mesh (1.i).

    5. Border Width

      1. This value is the width of the frame around the camera and the base width of the frame around the character.

    6. Border Height

      1. This value is the height of the frame around the camera and the base height of the frame around the character.

    7. Border Distance

      1. This value is the forward distance of the frame in front of the camera and the base forward distance of the frame in front of the character.

    8. Border Radius

      1. This value represents the radius of the spherecasts. Increasing this value “thickens” the borders for different camera results as needed.

    9. Minimum Distance

      1. This value represents the closest world position distance the camera can be at in relation to the character. Setting this value too low will produce undesired results.

    10. Player Multiplier

      1. The width and height of the player’s frame is the border width and border height parameters multiplied by this value. This value is normally set to 0 unless different results are required.

    11. Distance Multiplier

      1. The forward distance of the player’s frame is the border distance parameter multiplied by this value. This value is normally set to 0 unless different results are required.

    12. Camera Offset

      1. This value determines how far in front of the spherecast collision point the camera will be. This value is normally kept to a low value.

    13. Draw Gizmos

      1. When enabled and Gizmos are enabled in the render window, the camera’s and player’s frames will be visualized. This is used for initial camera collision setup and debugging purposes.

Sign-up for email notifications for a chance to win the Multi-State Character Controller Completely FREE!   

Individuals under the age of 13 may not enter or submit information to this giveaway, in accordance with United States Law.

Click here for Contest Rules and Conditions.