Sphere trigger behaves abnormally

Discussion in 'Programming' started by Riccarr, Mar 20, 2025.

  1. Riccarr

    Riccarr
    Expand Collapse

    Joined:
    Jul 28, 2024
    Messages:
    22
    Hi,

    I want to use a SPHERE trigger however from my testing it appears to behave oddly.

    If you view a sphere trigger in editor you'll see it actually has a box inside the sphere. The "enter" trigger event only happens once the vehicle encounters a wall of the box inside the sphere. And when leaving the sphere the "exit" event happens once passing through the sphere wall.

    This becomes more apparent when using LARGE spheres, like a scale of 30 or 50. I can actually drive around inside the sphere without touching the box walls and it won't trigger the enter event. I believe this is a bug.

    trigger:setField("triggerType", 0, "Sphere")
    trigger:setField("triggerMode", 0, "Overlap")
    trigger:setField("triggerTestType", 0, "Race corners")
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice