Unity logo
キャンセル
カート
アプリケーション
Sell Assets

11,000 種類を超える 5 つ星アセット

8.5 万人以上の顧客による評価

10 万人を超えるフォーラムメンバーが支持

すべてのアセットを Unity が審査済み

ホーム
ツール
カメラ
このコンテンツはサードパーティのプロバイダーによってホストされており、ターゲティングクッキーを使用することに同意しない限り動画の視聴が許可されません。これらのプロバイダーの動画の視聴を希望する場合は、ターゲティングクッキーのクッキーの設定をオンにしてください。
1/4
Dual-Target Focus Camera System: A physics-optimized camera controller for smooth, dynamic third-person gameplay in Unity.
SRP との互換性
Unity のスクリプタブルレンダーパイプライン(SRP)は、C# スクリプトを使用してレンダリングを制御できる機能です。SRP は、ユニバーサルレンダーパイプライン(URP)と HD レンダーパイプライン(HDRP)を支えるテクノロジーです。
Unity のバージョンビルトインURPHDRP
2021.3.2f1
互換性がある
互換性がある
互換性がある
互換性に関する追加情報

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.


技術的な詳細

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

(評価数が不足しています)
17 users have favourite this asset
(17)
$15
シート
1
更新された価格と消費税/VAT はチェックアウト時に計算
払い戻しポリシー
このアセットは Unity アセットストアの払い戻しポリシーの対象です。詳細については、EULA のセクション 2.9.3 を参照してください。
以下で安全にチェックアウト:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
ライセンス
ファイルサイズ
90.2 KB
最新バージョン
1.0.0
最新リリース日
2025年2月10日
オリジナルの Unity バージョン
2021.3.2
高品質なアセット
11,000 種類を超える 5 つ星アセット
信頼がある
8.5 万人以上の顧客による評価
コミュニティが支持
10 万人以上のフォーラムメンバーが支持
Unity logo
言語選択
フィードバック
パートナープログラム
パートナー
USD
EUR
Copyright © 2025 Unity Technologies
全ての表示価格には消費税は含まれていません
USD
EUR