Android XR SDK がデベロッパー プレビューで利用可能になりました。Google では皆様からのご意見やご感想をお待ちしています。
サポートページからお問い合わせください。
モーション
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
モーションにより、XR アプリを静的なシーンから、活気のあるインタラクティブなエクスペリエンスに変えることができます。モーションを使用して設計する際は、ユーザーの視覚的および身体的な快適さを考慮することが重要です。
- UI の動き: ユーザー インターフェース要素については、マテリアル デザインのモーション ガイドラインなどの確立された UI モーション設計基準に従うことができます。
- XR アプリでの 3D モーション: 3D オブジェクトや環境とのインタラクションを備えたアプリを作成する場合は、大きな動きがユーザーにとって不快に感じる可能性があることに注意してください。ユーザーを仮想世界に引き込む UI や環境を移動する際は、慎重に行う必要があります。移動が速すぎると、ユーザーが身体的な不快感や酔いを感じる可能性があります。
- 快適性を重視した設計: ユーザーが酔いを感じるような動きは避けてください。
- 小さく始める: 微妙な動きを使って、ユーザーがアプリを探索するよう促します。大きな動きは特定のタイミングに取っておきましょう。
- ガイダンスを提供する: モーションを使用して、何が起きているのか、どこを見るべきかをユーザーに伝えます。
ユーザー フレンドリーなモーションを追加する方法
アプリ内の動きがユーザーに与える印象を検討します。ユーザーが操作している場合は、空間内の動きがより快適になります。
ユーザーが予期しないときにアプリが空間内の何かを移動すると、不快感を覚える可能性があります。目が仮想世界内の動きを認識している一方で、内耳が静止していると検出すると、この感覚の不一致が原因で乗り物酔いを引き起こす可能性があります。
ユーザーが安心して快適に利用できるように、以下のベスト プラクティスに従ってください。
- わかりやすいオンボーディング: ユーザーがアプリに慣れやすくなるよう、モーション メカニズムを段階的に導入します。
- 休憩: 静止または動きを抑える時間を設けることで、ユーザーは休息をとることができ、疲労を回避できます。
- モーションをオプションにすることを検討する: モーションのレベルを調整できると、ユーザーがより快適に感じる場合があります。
- 予測可能なカメラの動き: スムーズで予測可能なカメラの動きにより、不快感を防ぐことができます。
- アニメーションによるフィードバックを検討する: 現実味のあるエクスペリエンスを作成する場合は、現実世界の物理学に沿ったアニメーションを使用できます。
- 世界全体の動きが原因で、気分が悪くなることがあります。大きな動きが必要な場合は、フェードイン / フェードアウト、ユーザーの周辺視野からの非表示、ゆっくりとした加速、回転の回避を検討してください。
- 大きなオブジェクトの動きは制限する。ユーザーが動いているように感じる可能性があるためです。ユーザーの不快感を防ぐため、これらのオブジェクトを半透明にするか、目立たないようにすることを検討してください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Motion can transform your XR app from a static scene into a vibrant, interactive\nexperience. It's important to consider a user's visual and physical comfort when\ndesigning with motion.\n\n- **UI motion** : For user interface elements, you can follow established UI motion design standards, such as [Material Design's motion guidelines](https://m3.material.io/styles/motion/overview).\n- **3D motion in XR apps**: When building an app with 3D objects and environment interactions, keep in mind large movements may be uncomfortable to users. Be thoughtful when moving UI or environments that ground a user in your virtual world. If moved too quickly, a user may experience physical discomfort or motion sickness.\n- **Design for comfort**: Avoid motion that makes people feel sick.\n- **Start small**: Use subtle movements to encourage users to explore your app. Save big movements for specific moments.\n- **Provide guidance**: Use motion to help users understand what's happening and where to look.\n\n### How to add user-friendly motion\n\nConsider how any movements in your app make a user feel. Motion in space is more\ncomfortable to users when they are in control.\n\nDiscomfort can happen when an app decides to move something in space without a\nuser expecting it. If your eyes perceive movement in the virtual world while\nyour inner ear detects that you're still, this sensory mismatch can trigger\nmotion sickness.\n\nFollow these best practices to keep users feeling safe and comfortable.\n\n- **Clear onboarding**: To help users acclimate to your app, introduce motion mechanics gradually.\n- **Rest stops**: Moments of stillness or reduced motion allow users to rest and avoid fatigue.\n- **Consider making motion optional**: Some users may be more comfortable when they can adjust the level of motion.\n- **Predictable camera motions**: Smooth and predictable camera movements can help prevent discomfort.\n- **Consider animated feedback**: If you want to create a believable experience, you can use animations that follow real-world physics.\n- **Whole world movements can make people feel sick**. In cases where big movements are necessary, you may want to fade out and fade in, hide a user's peripheral vision, accelerate slowly, or avoid rotating.\n- **Limit motion of large objects**, because it can feel like the user is moving as well. To prevent users from experiencing discomfort, consider making these objects semi-transparent or less noticeable."]]