OnTriggerEnter() Trigger Detection in Unity

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии •

  • @flym0
    @flym0 Месяц назад

    Will this work on an AR plane too? I wish to pull the controller's trigger button to spawn a prefab onto it.

    • @xrterraclass
      @xrterraclass  Месяц назад +1

      For detecting when the controller is pointing at a plane, you will likely want to use a raycast from the controller and then make sure to have a non-trigger collider on the plane.

    • @flym0
      @flym0 Месяц назад

      @@xrterraclass Thank you. Do you reckon this can be done without any C# script? (Am not a coder).