Tthe Detect Object Ability Base ability can filter the found object based on a layer mask or an object identifier value. If an object identifier is used the target object should contain the Object Identifier component with an ID that matches the ability’s Object ID value. In the screenshot below the ability’s Object ID value would be set to 106.

Demo IDs

In the demo scene the following IDs are used. These IDs are specific to the demo scene and the same IDs do not need to be used for your project. ObjectIdentifier is used by the DetectObjectAbilityBase ability for filtering interactions by Object ID.

  • 4: Arrow Attachment, for the bow to determine where the arrow will be held.
  • 8: Designates objects for the Look At ability to focus on.
  • 14: SkyCar, for the Drive ability.