Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ユニティちゃんと鬼ごっこができるMRゲームと戦術位置解析システム / Mixed realit...
Search
sotanmochi
July 27, 2018
Technology
0
680
ユニティちゃんと鬼ごっこができるMRゲームと戦術位置解析システム / Mixed reality game and tactical position analysis
sotanmochi
July 27, 2018
Tweet
Share
More Decks by sotanmochi
See All by sotanmochi
URP/HDRPを使ったVRM対応アプリの開発方法 / VRM Importer Extension
sotanmochi
0
1.7k
画像処理から始めるコンピュートシェーダ / Introduction to Image Processing using Compute Shader
sotanmochi
2
2.6k
Diminished Reality 入門 / Introduction to Diminished Reality
sotanmochi
2
9.2k
Unityでテクスチャにお絵描きするための線分描画アルゴリズムの話 / Line drawing algorithm using fragment shader
sotanmochi
2
3.9k
MagicOnionでマルチプレイゲームを作ってみる / Introduction to developing multiplayer games using MagicOnion
sotanmochi
1
2.4k
SmartRig Bipedを使ってみよう / Introduction to SmartRig Biped
sotanmochi
0
3.3k
VRMを使ったAR/MR撮影ツールを試作開発してみた話 / Prototype of Mobile Mixed Capture
sotanmochi
0
1.7k
リアルとバーチャルの融合によって越えられない壁を壊す / TechCafe vol.8 LT
sotanmochi
0
280
Research modeで取得した深度(Depth)データを可視化する / Depth data visualization for Hololens RS4 Research mode
sotanmochi
0
190
Other Decks in Technology
See All in Technology
AI駆動開発の実践とその未来
eltociear
1
470
AWSの新機能をフル活用した「re:Inventエージェント」開発秘話
minorun365
2
370
Strands Agents × インタリーブ思考 で変わるAIエージェント設計 / Strands Agents x Interleaved Thinking AI Agents
takanorig
4
1.8k
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
0
180
JEDAI認定プログラム JEDAI Order 2026 エントリーのご案内 / JEDAI Order 2026 Entry
databricksjapan
0
160
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
100
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
370
Bedrock AgentCore Evaluationsで学ぶLLM as a judge入門
shichijoyuhi
1
150
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
270
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
18
7.4k
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.4k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9.9k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Fireside Chat
paigeccino
41
3.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
2
2.7k
GraphQLとの向き合い方2022年版
quramy
50
14k
Producing Creativity
orderedlist
PRO
348
40k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The agentic SEO stack - context over prompts
schlessera
0
550
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Transcript
ユニティちゃんと鬼ごっこができる MRゲームと戦術位置解析システム 2018/07/27 Soichiro Sugimoto sotan(@sotanmochi)
自己紹介 • sotan (@sotanmochi) • TIS株式会社・戦略技術センター • 趣味で作ったHoloLensアプリをリリースしました(2018/05) 2018/7/27 2
https://www.microsoft.com/store/apps/9P4XXMW3F1GC
Holo OnigokkoというMRゲームについて • HoloLensを使って現実空間でユニティちゃんと鬼ごっこ • 空間マッピングできればどこでも遊べる(10m x 10m以上の広さ) 2018/7/27 3
デモ動画 2018/7/27 4 https://www.youtube.com/watch?v=Kth2Qd6z8FE
ゲームフィールド生成 • Spatial Mappingでメッシュ生成 • NavMeshBuilderで動的にNavMesh生成 2018/7/27 5
ユニティちゃんの戦術 • プレイヤーから遠くに離れる • プレイヤーの正面を避ける • 障害物の後ろに隠れる 2018/7/27 6
戦術位置解析(戦術位置検索)システム • キャラクターが自分の移動先のポイントを探し出すシステム • 目的に応じたポイントをその場で探し出す • ゲーム内の地形を、ゲーム内でリアルタイムに把握して、 自分の能力に合わせて、最も適した位置を発見する • CryEngineで発想され、2011年ぐらいから実装されている。
• Unreal Engine 4では、EQS(Environment Query System)で同じ 機能がある。 2018/7/27 7 引用元: ・キャラクターの人工知能のための戦術位置解析システム(CEDEC 2016) ・ゲームキャラクターのための人工知能と社会への応用 ~ FINAL FANTASY XV を事例として ~(de:code 2017)
戦術位置解析システム for Unity Unreal Engine 4の実装を参考に自作してみた https://github.com/sotanmochi/EnvironmentQueryForUnity 2018/7/27 8
戦術位置解析システム for Unity • キャラクターを中心にポイントを生成 • 各ポイントのスコアを計算 • スコアが最も高いポイントの位置を目的地にする 2018/7/27
9 プレイヤーからの距離 + + プレイヤーの向きとの角度 プレイヤーの死角
戦術位置解析システム for Unity デモ(PC版) https://github.com/sotanmochi/SimpleOnigokkoGameUsingEnvQuery 2018/7/27 10
まとめ • Spatial Mapping + NavMesh + 戦術位置解析を使って 現実空間をフィールドとするMixed Realityゲームを作った
• 戦術位置解析ができるUnityのアセットを見つけられなかったので Unreal Engine 4の実装を参考に自作した • ゲームAI系のオススメのアセットを教えてください 2018/7/27 11
ありがとうございました
Appendix
戦術位置解析システム for Unity 基準位置を中心にポイント(アイテム)を生成 2018/7/27 14
戦術位置解析システム for Unity 各ポイント(アイテム)のスコアを計算 2018/7/27 15 プレイヤーの死角 プレイヤーからの距離 プレイヤーの向きとの角度 +
+
戦術位置解析システム for Unity スコアが最も高いポイントの位置をNavMeshAgentの目的地にする 2018/7/27 16
戦術位置解析を有効にする範囲 プレイヤーが接近してきた時にEnvQueryを有効にする (下図のオレンジ色の範囲に入ってきた時) 2018/7/27 17 EscapeDistance forward direction Target (Player)
End