Forum Discussion

RickMaranta's avatar
RickMaranta
Community Member
22 days ago
Solved

Intersect does not work when moving objects with the new API

I have noticed that if I use the new API to move things, I cannot use the Intersect trigger. Has anyone else found this? This would be helpful to build interactive games. 

  • I have contacted support and currently when moving objects with the new JavaScript API, you cannot use the Intersect triggers. They have submitted it as a feature request. However, there are workarounds that you can do entirely in JavaScript, like using JS to detect the intersection of objects and set a variable.

1 Reply

  • RickMaranta's avatar
    RickMaranta
    Community Member

    I have contacted support and currently when moving objects with the new JavaScript API, you cannot use the Intersect triggers. They have submitted it as a feature request. However, there are workarounds that you can do entirely in JavaScript, like using JS to detect the intersection of objects and set a variable.