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

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

    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!