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

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

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

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

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

ホーム
ツール
カメラ
1/6
Ensures your camera avoids obstacles while maintaining a clear view of your target. Featuring obstacle detection, smooth position adjustment, and support for both Automatic and Programmatic Modes.
SRP との互換性
Unity のスクリプタブルレンダーパイプライン(SRP)は、C# スクリプトを使用してレンダリングを制御できる機能です。SRP は、ユニバーサルレンダーパイプライン(URP)と HD レンダーパイプライン(HDRP)を支えるテクノロジーです。
Unity のバージョンビルトインURPHDRP
6000.0.24f1
互換性がある
互換性がない
互換性がない
詳細

A lightweight and versatile solution designed to prevent your camera from clipping through walls and obstacles. Whether you're building a third-person action game, an adventure platformer, or a custom camera setup, CameraCollision seamlessly integrates into your project with powerful features and an intuitive workflow.


With support for Automatic and Programmatic integration modes, CameraCollision offers flexibility for any camera system. Use it to handle collision detection automatically or programmatically adjust positions via your custom scripts.


Key Features:

  • Obstacle Detection:Prevent your camera from clipping into objects using SphereCast-based collision detection.
  • Smooth Position Adjustment:Transition naturally to collision-free positions with customizable smoothing.
  • Two Integration Modes:Automatic Mode: Handles collision avoidance directly, perfect for quick and easy integration.
    Programmatic Mode: Allows dynamic collision adjustment from custom scripts for advanced setups.
  • Flexible Configuration:Customize collision radius, layers, and offsets to suit your game environment.
  • Focus Point Support:Automatically use the camera’s parent or assign a specific focus point for precision control.
  • Seamless Integration:Works with third-party camera controllers or your own custom scripts.
  • Debug Tools:Visualize collision detection and offsets in the Unity Editor with Gizmos.

How It Works:

  1. Attach the Script:Add the CameraCollision script to your camera GameObject.
  2. Choose Your Integration Mode:Use Automatic mode for built-in collision handling or Programmatic mode to control collision adjustments via scripts.
  3. Configure the Settings:Adjust collision radius, smoothing, layers, and offsets in the Inspector for full control over behavior.
  4. Integrate with Custom Scripts (Optional):In Programmatic mode, call GetAdjustedPosition() to dynamically adjust your camera position.

Use Cases:

  • Third-person cameras for action, platformer, or RPG games.
  • Fixed cameras needing collision adjustments for tight spaces.
  • Custom camera systems with dynamic position adjustments.

Who Is This For?

This asset is ideal for developers looking for a modular, lightweight solution to camera clipping issues. Whether you're a beginner or an advanced Unity user, CameraCollision offers a hassle-free setup and easy integration into any project.


Requirements:

  • Unity 2020.3 or newer.
  • Basic understanding of camera systems in Unity.
技術的な詳細

Key Features:

  • Obstacle Detection:Prevent your camera from clipping into objects using SphereCast-based collision detection.
  • Smooth Position Adjustment:Transition naturally to collision-free positions with customizable smoothing.
  • Two Integration Modes:Automatic Mode: Handles collision avoidance directly, perfect for quick and easy integration. Programmatic Mode: Allows dynamic collision adjustment from custom scripts for advanced setups.
  • Flexible Configuration:Customize collision radius, layers, and offsets to suit your game environment.
  • Focus Point Support:Automatically use the camera’s parent or assign a specific focus point for precision control.
  • Seamless Integration:Works with third-party camera controllers or your own custom scripts.
  • Debug Tools:Visualize collision detection and offsets in the Unity Editor with Gizmos.
AI を使って作成

Docs are created with grok but fined tuned by our dev team

Camera Collision | Wall Camera Avoidance/ Camera Collision System & Framework

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