Addon ID

  • famstudio_3dcharactercam

Info

Statistics

  • Download count37 total downloads
  • Latest download count 37 downloads of latest version
  • Average download count2 downloads per day average

Owners

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

Camera

  • Actions

    Cast interact ray, distance {0}, tag {1}

    Fire a ray from camera center. Stores UID in TargetItemUID, coords in HitX/Y/Z. Fires OnRayHit trigger. Tags help differentiate raycasts.

    Mouse look: dX={0} dY={1}

    Rotate camera by mouse delta. Call from Mouse: On movement trigger.

    Set cam pitch to {0}°

    Set vertical tilt (degrees, clamped -89..89).

    Set cam yaw to {0}°

    Set horizontal rotation in degrees.

    Set shoulder offset to {0}

    Shift camera horizontally. 0=FPS, ~80=TPS right shoulder.

    Set 3DCharacterCam enabled: {0}

    Enable or disable the behavior.

    Set max cam distance to {0}

    Change spring-arm length at runtime.

    Set solid tag to {0}

    Change which objects block camera at runtime. Empty = all objects.

    Aim lock: UID {0}, strength {1}, force center {2}

    Smoothly pulls camera toward the target UID. Use ClearAimLock to stop.

    Clear aim lock

    Disable aim lock-on. Camera returns to pure mouse-look control.

  • Conditions

    Camera spring-arm is blocked

    True when CurrentDist < MaxCamDist (camera pushed in by a wall).

    3DCharacterCam is enabled

    True when the behavior is active.

    On ray hit (Tag: {0})

    Trigger: fires immediately inside CastInteractRay when a hit is detected. Use tags to separate interactions (e.g. 'shoot' vs 'look'). TargetItemUID, HitX/Y/Z are valid.

  • Expressions

    CamAngle

    Horizontal angle (deg) from camera to player.

    CamPitch

    Current vertical tilt in degrees.

    CamX

    Current camera X in layout coords.

    CamY

    Current camera Y in layout coords.

    CamYaw

    Current horizontal yaw in degrees.

    CamZ

    Current camera Z in layout coords.

    CurrentDist

    Actual spring-arm length this frame.

    TargetItemUID

    UID of object hit by last CastInteractRay. -1 if nothing hit.

    HitX

    World X of last ray hit. 0 if nothing hit.

    HitY

    World Y of last ray hit. 0 if nothing hit.

    HitZ

    World Z of last ray hit. 0 if nothing hit.

    AimLockUID

    Current aim lock target UID. -1 if disabled.

    RayTag

    Tag string of the last cast ray.