脱出ゲーム向け 開閉南京錠と鍵|Unity解錠・扉連動サンプル付き|Rustbound Padlock
- Digital500 JPY



南京錠が開くまで扉の操作を受け付けない、Unityの解錠・扉連動サンプル付き。脱出・ホラーゲームの組み込み例に。 500円で、南京錠と鍵の2点、Unity開閉C#、鍵を使うアニメーション、編集可能なBlender原本、2Kテクスチャを収録。直接FBX版も追加料金なしで含みます。 確認済み環境:Unity 2022.3.22f1 Built-in/Apple Silicon Mac。UE・VRChat・Windows・URP/HDRPは未検証です。 【実際のUnity再生映像:11秒】 https://www.instagram.com/p/DemLE5Dto5-/ 物理演算・自動鍵照合ではありません。 【どのファイルを使う?】 1. Unityで使う/Blenderで編集する Rustbound_Padlock_v1_0.zip 設定済みUnityPackage、独立Prefab、見本シーン、C#ソース、Blender原本、2K PNG10枚、実商品のプレビュー、英語説明書・利用条件を収録。 UnityではUnity/Rustbound_Padlock.unitypackageを読み込み、Assets/Padlock/Scenes/Rustbound_Showcase.unityを開いて再生。独立PrefabはAssets/Padlock/Prefabsにあります。 2. Unityを開かずFBXを取り出す Rustbound_Padlock_FBX_Companion_v1_0.zip(約43MiB) 同じ2点のFBX、隣接2K PNG10枚、英語の材質接続表を収録。FBXとPNGは同じフォルダのまま使用してください。ソフトごとの材質接続・調整が必要です。設定済みUnity素材やBlender原本は1のZIPにあります。 3. Unityでキー操作を試す(任意の追加見本) Rustbound_Padlock_Controls_Example_v1_0.zip 先に1のUnityPackageを読み込み、その後この追加UnityPackageをインポート。Assets/RustboundExamples/PadlockControls.unityを開き、Game画面を選んでOで開く・Cで閉じる・Eで切替。Legacy Input ManagerまたはBothと標準IMGUIモジュールが必要です。 4. 解錠と扉を連動させる(任意の利用例) Rustbound_Door_Example_v0_1.zip 先に1のUnityPackage、その後この追加UnityPackageを読み込み、Assets/DoorExample/DoorPrototype.unityを再生。Uで解錠、Eで扉、Rでリセット。解錠完了前は扉を拒否。扉・台は説明用の仮形状で、物理錠・鍵照合・インベントリはありません。Mac実キー操作・途中反転・リセット・別プロジェクトへの読み込みを検査済み。Legacy Input Manager/BothとIMGUIが必要です。 4つのZIPは同じ2点の別形式と利用例です。新しい完成品モデルの追加ではなく、すべて500円に含まれます。 【仕様と開閉機能】 ・独立小物2点/メッシュ3個(本体・金具・鍵)。 ・合計6,948三角面:本体1,328、金具3,514、鍵2,106。 ・閉じた南京錠の高さ12cm、鍵の最大寸法7.5cm。 ・Unityは4材質・使用マップ9枚。元PNGは2K、初期インポートは1K・Mip Streaming有効・CPU Read/Write無効。 ・開閉C#:Open/Close/Toggle/SetOpen(bool)、開閉到達イベント、中断反転・無効化後の再開。時間はゲーム内のTime Scaleに従います。 ・別用途の約8.958秒サンプル:鍵の挿入→回転→金具の開閉→鍵の復帰・引き抜き。制御PrefabにサンプルのAnimationを重ねないでください。 【検査範囲】 Unity 2022.3.22f1 Built-in/Apple Silicon Macの空の別プロジェクトへのインポート、材質、開閉・反転・停止再開、アニメーションを検査。Mac Developmentビルドを実行して描画と開閉も確認しています。追加キーボード見本は別プロジェクトへのインポート、Macビルド、自動往復・イベント検査に加え、実キーO/C/Eで開閉と表示を確認しました。既存モデルと本体C#は変更していません。 Blender 5.2.1 LTS:原本の再読込・パック済み画像を検査。追加FBXも寸法・UV・画像参照・動き・復帰を検査しています。FBXの材質自動変換は保証しません。原本は24fps・1〜216フレーム、BlenderへのFBX再読込では2〜217フレームです。 【含まれないもの・購入前の注意】 物理的な錠機構、当たり判定・Rigidbody、拾う操作、インベントリ、ゲーム固有の入力割当、鍵照合、通信、音は含みません。鍵を近づけただけでは解錠しません。任意の追加見本にはO/C/Eのキーボード入力がありますが、近接操作やゲーム側の判定は購入者が組み込む部品素材です。 UE・VRChat・Windows・URP/HDRP・他のバージョン・負スケール/非等方スケールは未検証。画像1はBlender原本、2はMac実行画面、3は追加キー操作見本の開状態です。繰り返し配置や撮影用の床・照明は商品点数に含めません。 【制作・利用条件】 AIを活用した制作です。Meshy生成の金具・鍵をBlenderで修正し、本体・内部の鍵穴・UV・風化マップ・動きを調整しました。生成時の有料プラン・非公開生成は所有者に確認済みです。 非独占。個人・商用利用、改変、完成ゲームや映像への組込み可。素材や改変素材そのものの再配布・再販売、公開素材ライブラリへの掲載は禁止。詳細は同梱LICENSE_EN.md。無欠陥・全環境への互換性・性能を保証するものではありません。不具合はエンジン版・描画方式・再現手順を添えてショップへお願いします。 ----- English ----- RUSTBOUND PADLOCK & SKELETON KEY — JPY 500 Padlock/key + Unity scripted unlock/door example. Includes opening C#, key-use animation, Blender source, 2K textures and direct FBX. ACTUAL UNITY ANIMATION (11s) https://www.instagram.com/p/DemLE5Dto5-/ Not physical simulation or automatic key matching. DOWNLOADS (all included; same two prop designs) 1. Rustbound_Padlock_v1_0.zip: main configured UnityPackage, prefabs, animation/C#, Blender source, ten 2K PNGs and docs. Import Unity/Rustbound_Padlock.unitypackage; scene Assets/Padlock/Scenes/Rustbound_Showcase.unity. 2. Rustbound_Padlock_FBX_Companion_v1_0.zip: direct FBX + adjacent PNGs/material guide. Target-specific material setup required. 3. Rustbound_Padlock_Controls_Example_v1_0.zip: optional O/C/E controls scene at Assets/RustboundExamples/PadlockControls.unity. 4. Rustbound_Door_Example_v0_1.zip: optional scripted unlock/door gate. Scene Assets/DoorExample/DoorPrototype.unity; U unlocks, E toggles door, R resets. Main package FIRST, then add-on. Door/pedestal are illustrative greyboxes, not finished-art assets. No physics, key matching or inventory. Fresh import, Mac manual U/E/R and automatic interruption/reset tests passed. Examples 3/4 require Legacy Input Manager/Both and IMGUI. Back up projects; avoid overwriting matching paths/settings. No extra independent prop designs. SPECS / CONTROLS 6,948 triangles / three meshes; closed lock 12cm, key 7.5cm. Unity: four materials, nine maps, 2K sources/default 1K imports. Controller: Open/Close/Toggle/SetOpen(bool), endpoint events, reversal/disable-resume, scaled time. Separate 8.958s key-use animation; do not layer it with controller on the same pivots. TESTED SCOPE / LIMITS Unity 2022.3.22f1 Built-in on Apple Silicon Mac: fresh import, materials, controller/animation tests and actual Mac Development player build/run. The optional keyboard example passed fresh import, a Mac player build, automatic command/event/return checks, and manual O/C/E keyboard open-close tests. Existing model and core controller payloads are unchanged. Blender 5.2.1 LTS source reopen/packed-image checks; direct FBX dimensions, UVs, image references, animation and return checked. Source frames 1–216 at 24fps; default Blender FBX reimport frames 2–217. Windows, Unreal, VRChat, URP/HDRP, other versions and mirrored/nonuniform scale UNTESTED. No production colliders/Rigidbodies, physical lock mechanism, inventory, pickup, game-specific input integration, key matching, multiplayer or sound. Only the optional example supplies O/C/E keyboard bindings; no mouse UI or proximity system. The independent key does not automatically unlock the controller. Game-specific integration remains your responsibility. Images: 1 Blender source; 2 Mac player; 3 optional keyboard demo (open). Preview floor/lighting and repeated instances are not extra designs. No universal compatibility, zero-defect or performance guarantee. AI-ASSISTED PRODUCTION / LICENSE Meshy-derived shackle/key geometry and maps corrected in Blender; body, internal keyway, UVs, wear maps and animation worked on in Blender. Paid/private source generation confirmed by owner. Nonexclusive commercial use/modification and embedding in finished projects allowed. Standalone source redistribution/resale, including modified assets, prohibited; see LICENSE_EN.md. Report issues to the shop.


