Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
VRChat VRC_Panorama Slide System
Search
joniburn
June 14, 2019
2.3k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
VRChat VRC_Panorama Slide System
joniburn
June 14, 2019
More Decks by joniburn
See All by joniburn
Getting Started with VRChat Udon
joniburn
0
1.5k
VRChat World Optimization
joniburn
0
1.9k
Customize Avatar Textures using Clip Studio Paint
joniburn
0
1.8k
Panty Patch WebApp
joniburn
1
1.6k
VRChat Avatar Optimization
joniburn
1
3.3k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
ラッコキーワード サービス紹介資料
rakko
1
4.4M
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
エンジニアに許された特別な時間の終わり
watany
108
250k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
650
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
660
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
370
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
WENDY [Excerpt]
tessaabrams
11
39k
Transcript
LTに使える! VRC_Panorama スライドシステム joniburn
None
ワールドのトリガーシステム • VRCSDKのイベントプログラミングの 仕組み • スイッチを押したら鏡が出る、など OnInteract スイッチ 鏡 SetGameObjectActive
VRC_Panoramaちゃんは 気難しい • 普通のトリガーではページ送りできない ◦ uGUIを使う必要がある • Ownerがページ送りしないと他クライアントに同期 されない ◦
Ownerの設定はトリガーで 「SendRPC(TakeOwnership)」を実行 ◦ Ownerの設定が面倒だったり同期が不安定
いい感じにしました! • 普通のトリガーでページ送り可能 ◦ Boxなど任意のオブジェクトからトリガー • 常に誰でもページ送りできる ◦ 前回LTでは発表者交代時に スイッチを押す必要があった
トリガーでページ送り • 通常はビームでボタンを押す • SetGameObjectActiveでアクティブになると自分 で勝手にボタンを押す ↑0秒でPressイベントを発行するアニメーションクリップ
Owner設定ボタンの回避 • 1回は誰かがOwnerを取得する ◦ 最初に押してもらう (電源ボタン的な感じ) ◦ 押した人がワールド移動したら他の人が 同じ操作をしてOwnerを取得 •
誰がボタンを押してもOwnerの クライアント上でページ送りが実行される ようにトリガーを組む →次ページへ
Owner 般ピ ・・・ VRC_Panorama パ uGUIボタン (非表示) 電源ボタン 押す 親を
Active Owner取得 次ボタン 次 OnInteract Local Ownerの クライアント上のみで 実行
Owner 般ピ ・・・ VRC_Panorama パ uGUIボタン (非表示) 電源ボタン 次ボタン 次
押す OnInteract AlwaysUnbuffered (だれでも実行化) Active Ownerの クライアント上のみで実行 Press NextPano() 表示更新 表示更新 VRC_ObjectSyncによる同期
おわり