Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Feature Request Ray perception sensor toggle trigger interaction

Discussion in 'ML-Agents' started by AngrySamsquanch, Mar 16, 2021.

  1. AngrySamsquanch

    AngrySamsquanch

    Joined:
    Dec 28, 2014
    Posts:
    24
    Would it be possible to add a toggle for trigger interactions to the ray perception sensor? Specifically the QueryTriggerInteraction parameter for the ray and sphere casts in the

    internal static RayPerceptionOutput.RayOutput PerceiveSingleRay(
    RayPerceptionInput input,
    int rayIndex,
    out DebugDisplayInfo.RayInfo debugRayOut
    )

    method of the RayPerceptionSensor.cs class.
     
  2. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hey @AngrySamsquanch,
    Can you file this as a feature request on our github page. I think this is something we could do for you. Thanks!