🧐
JMRSDK Development
v4.34
v4.34
  • Jio Mixed Reality SDK Documentation
    • Changelog 4.34.1
      • Upgrade Guide 4.34.1
  • Device Information
    • Supported Smartphones
  • Controller Specifications
    • Physical Controllers
    • Virtual Controller / Virtual Keyboard for JioGlass
  • Getting Started
    • Development Platform
    • Setting Up Jio Mixed Reality Project in Unity
    • URP Support
      • Setting Up Your Project With URP
      • Reverting Back to Built-In Render Pipeline
  • JMRSDK
    • JMRSDK Content
    • JMRMixedReality Prefab
    • System Dock
    • JMRRig
      • Local Rig
      • Setting Homepage (Quit functionality)
      • Recenter Application on Resume
  • Develop
    • Editor Emulator
    • JioGlass Controller Interactions
    • Cameras
    • Tesseract Mixed Reality UI Toolkits
    • Examples
  • Interaction
    • Gaze Interaction
      • Gaze and Click
      • Gaze and Dwell
    • Interaction
      • Pointer Manager
        • Examples
    • Interfaces
      • ISelectHandler
      • ISelectClickHandler
      • IFocusable
      • ISwipeHandler
      • ITouchHandler
      • IBackHandler
      • IHomeHandler
      • IMenuHandler
      • IVoiceHandler
      • IFn1Handler
      • IFn2Handler
      • IManipulationHandler
    • Controller Input Actions
      • Touchpad - Touch
      • Touchpad - Swipe
      • Source Buttons
      • Manipulation
    • Actions
    • Device State
      • Device Connected
      • Device Disconnected
      • Battery percentage update
      • Scanning for Device
      • Battery Percentage
  • Voice
    • Voice
      • Speech Events
      • Speech Result
      • Speech Error
      • Speech Session End
      • Speech Cancel
    • Listening
  • Tracking
    • Tracking
      • Coordinate System
    • Tracking Framework
      • TrackerManager Actions
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
      • TrackerManager Methods
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
    • Recenter
  • Building and Testing
    • Branding Guidelines
    • Building to Target Device
      • Merging AndroidManifest
      • Performance Optimization
      • App optimization
    • JioImmerse App For Jio Mixed Reality (JMR) Devices
      • Running the application on Prism (Holoboard)
    • IPD Calibration
  • Publish
    • Licensing Journey In JioImmerse
    • Signing App for App Store
    • Publishing to JioImmerse Developer Console
    • Publishing to Google Play Store
      • Play Store Upload Journey
  • Capturing and Recording
    • Capture Videos and Screenshots
      • Capturing Screenshot/Videos using scrcpy
      • Capturing Screenshot/Videos using Vysor
  • Troubleshooting
    • FAQs - Develop
    • FAQs - Building to device
      • Gradle
      • Old aaptOptions error fix
    • FAQs - Running and Publishing
    • Laser Point Not Visible
Powered by GitBook
On this page
  1. Interaction
  2. Controller Input Actions

Manipulation

Advanced Actions

PreviousSource ButtonsNextActions

Last updated 1 year ago

Direct Manipulation of 3D GameObjects

  1. Add a Cube, a Sphere, and a Capsule to a JMRSDK configured scene and position them as shown in the image below.

  2. Attach JMRManipulation script to these 3 objects.

  3. On the JMRManipulation script on each of these objects, select the options as shown below:

  • Cube: IsRotatable

  • Sphere: IsGrabable, IsScalable

  • Capsule: IsGrabable, IsMovable

  • Now play the scene and point the ray on the Sphere. Start the Manipulation action by long-pressing the Trigger button.

  • The Sphere will snap to the pointer. Now you can Scale the Sphere by swiping the trackpad.

  • Repeat the same process with Cube and it will Rotate when you swipe on the trackpad.

  • Repeat the same process with Capsule and you will be able to Move the Capsule around the scene.

  • SnapToCenter option on JMRManipulation script is an experimental feature. Selecting this option will snap the pointer ray to the Center of that object.

It is recommended to use JMRManipulation2 over JMRManipulation as it is feature-rich with better stability.

Cube Manipulation Options
Sphere Manipulation Options
Capsule Manipulation Options