Unity logo
Cancel
장바구니
애플리케이션
Sell Assets

평점 만점의 리뷰가 11,000개 이상

8만 5천명 이상의 리뷰

10만명 이상의 포럼 멤버가 선호하는 에셋

유니티에서 모더레이팅하는 모든 에셋

도구
카메라
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/4
Dual-Target Focus Camera System: A physics-optimized camera controller for smooth, dynamic third-person gameplay in Unity.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.2f1
Compatible
Compatible
Compatible
Additional compatibility information

Install Unity 2020.3+ and the Input System package

설명

▪―――――――――― CONNECT WITH US ――――――――――▪


wiskered.com | Twitter | Discord | YouTube | Instagram | Itch.io



▪―――――――――――― OVERVIEW ――――――――――――▪


The Dual-Target Focus Camera System is a specialized tool designed for games with physics-heavy characters and environments. It solves common camera issues like jittery tracking, obstacle clipping, and unnatural movements through a unique dual-target architecture. Originally developed for early experimental versions of FUNBRUN (under active development), it prioritizes adaptability, accuracy, and smoothness in chaotic scenes.



▪――――――――――― KEY FEATURES ―――――――――――▪


PlayerCameraController

  • Rotation: Horizontal and vertical rotation with adjustable speed (rotationSpeed) and angle clamping (minYRotationAngle, maxYRotationAngle).
  • Zoom: Manual control (zoomSpeed, zoomSmoothSpeed) and auto-zoom for obstacle avoidance.
  • FOV Adjustment: Dynamic FOV changes (e.g., squinting) with smooth transitions (squintPercentage, fovSmoothSpeed).
  • Horizontal Obstacle Avoidance: Detects walls and objects via range-based raycasting. Adjustable collision radius (collisionRadius) and pre-collision buffer (preCollisionPlusDistance).
  • Smoothing: Smooth recovery after collisions and movements.

CameraFocusTarget

  • Vertical Tracking: Maintains vertical offset (axisDeviationY) to avoid clipping into floors or ceilings.
  • Noise Filtering: Uses a custom speed-based curve (smoothTimeCurve) to dampen physics jitter.
  • Vertical Obstacle Avoidance: Detects ceilings via upward raycasting and adjusts height dynamically.
  • Dynamic Offset: Shifts target position based on character tilt and zoom.


▪――――――――― TECHNICAL HIGHLIGHTS ―――――――――▪


  • Input System Integration: Supports mouse, gamepad, and keyboard.
  • Event-Driven Workflow: Use UnityEvents (onCollisionDetected, onSquinting) for custom logic.
  • Debugging Tools: Visualize rays, collision zones, and focus points with toggleable Gizmos.
  • Layer-Based Obstacle Detection: Define custom layers for collision detection (obstacleLayer).


▪―――――――――――― USE CASES ――――――――――――▪


  • Physics-Intensive Games: Ragdoll characters, destructible environments, procedural animation.
  • Exploration/Parkour: Maintain visibility in tight spaces or vertical levels.
  • Cinematic Projects: Achieve smooth camera movement without complex scripting.


▪――――――――――― SPECIFICATIONS ―――――――――――▪


Requirements: Unity 2020.3+, Input System Package.


Included Assets:

  • PlayerCameraController.cs
  • CameraFocusTarget.cs
  • README + In-Engine Comments
  • Demo scene.

Demo scene:

  • Test area with obstacle blocks.
  • Sphere simulating a character with physics (chaotic movement in the air).
  • Preconfigured scripts (PlayerCameraController, CameraFocusTarget, DemoPhysicsSphere).


▪―――――――――― LIMITATIONS ――――――――――▪


  1. Not Universal: Optimized for physics-driven characters. Avoid using for static cameras or 2D/orthographic projects.
  2. Demo Limitations: The included demo is minimal. The trailer showcases FUNBRUN footage, but game content is NOT included.


Technical details

Key Features:

  • Dual-target architecture (PlayerCameraController + CameraFocusTarget).
  • Physics-optimized smoothing via custom smoothTimeCurve.
  • Horizontal & vertical obstacle avoidance (raycasting + range-based detection).
  • Dynamic FOV adjustment (squinting) with smooth transitions.
  • Manual/Auto-zoom with collision-responsive positioning.
  • Input System integration (mouse, gamepad, keyboard).
  • Layer-based obstacle detection (obstacleLayer).
  • Event-driven workflow (onCollisionDetected, onSquinting).
  • Debugging tools (Gizmos for rays, collision zones).
  • Angle clamping, Y-axis inversion, adjustable speeds.

Dual-Target Focus Camera System

(평가가 충분하지 않습니다)
20 users have favourite this asset
(20)
$15
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
라이선스
파일 크기
90.2 KB
최신 버전
1.0.0
최신 릴리스 날짜
2025년 2월 10일
원본 Unity 버전
2021.3.2
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
언어
어필리에이트 프로그램
멤버십링크 생성기어필리에이트 ID
Feedback
파트너 프로그램
협력사
USD
EUR
Copyright © 2025 Unity Technologies
모든 가격은 부가가치세를 제외한 금액입니다.
USD
EUR