Skip to content

Don't send objecid to onleavetrigger for removed objects#156

Open
Azaezel wants to merge 2 commits into
Areloch:Preview4_0from
Azaezel:alpha40TriggerTrouble
Open

Don't send objecid to onleavetrigger for removed objects#156
Azaezel wants to merge 2 commits into
Areloch:Preview4_0from
Azaezel:alpha40TriggerTrouble

Conversation

@Azaezel

@Azaezel Azaezel commented Mar 29, 2020

Copy link
Copy Markdown

we do want to trip the callback for the trigger so it knows something changed, but there's no point in telling it an id for something that it can't resolve.

we do want to trip the callback for the trigger so it knows something changed, but there's no point in telling it an id for something that it can't resolve.
@Azaezel

Azaezel commented Mar 29, 2020

Copy link
Copy Markdown
Author

credit, @oth_mars

polls the bounds box and trips onEnter for anything enclosed. added to onadd for catching objects already there at cration time, and to settransform for when one is moved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant