Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Manually scripting Snap Zones

Discussion in 'VR' started by KimberleyC, Apr 11, 2021.

  1. KimberleyC

    KimberleyC

    Joined:
    Mar 22, 2021
    Posts:
    20
    I'm a beginner, but for my final year project, I need to be able to write a script that can allow users to dynamically place snap zones in a given space.
    Is there a possible way to do so?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    Hello there. So, what exactly do you mean by "snap zones"?
     
  3. KimberleyC

    KimberleyC

    Joined:
    Mar 22, 2021
    Posts:
    20
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    You can use our XR Interaction Toolkit, which includes support for socket interactions. Here's a sample that you can use as reference.
     
    MadMojo likes this.
  5. KimberleyC

    KimberleyC

    Joined:
    Mar 22, 2021
    Posts:
    20
    Cool, thank you!
     
  6. KimberleyC

    KimberleyC

    Joined:
    Mar 22, 2021
    Posts:
    20
    Does the XR Interaction Toolkit have a way to read input from bluetooth controllers?