In the touches feature, I'd have thought this addresses it around line 140:
if (agentId === t.id) return;
But it still comes through. Long-term, we'd of course like to somehow have thisCharacter and theOtherCharacter (or something) but short-term it'd be nice if this got filtered out since the ifExpr is confusing for kids.
In GitLab by @jdanish on May 10, 2023, 07:02
Right now, inside of a Character named Player, we use the following:
featCall Player.Touches monitor 'Player' b2b
The intention is to then check for when Player 1 touches Player 2, 3, etc.
This mostly works, but we receive a call back when Player 1 touches Player 1, necessitating the following code:
ifExpr {{ agent.getProp('trackerId').value != Player.getProp('trackerId').value }} [[
In the touches feature, I'd have thought this addresses it around line 140:
if (agentId === t.id) return;
But it still comes through. Long-term, we'd of course like to somehow have thisCharacter and theOtherCharacter (or something) but short-term it'd be nice if this got filtered out since the ifExpr is confusing for kids.