πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2024-01-25. It may be informal or outdated β€” anyone can edit this page to improve it. This topic changes between game versions β€” double-check before relying on it. Original discussion

Quickly creating/removing nocollide constraints in a loop

πŸ”— ConstraintsUpdated 2 days agoβ€’0 views
Create a ballsocketadv constraint with near-zero lifespan params and call :remove() on it immediately - it gets created then removed, effectively toggling colli…

How to efficiently remove nocollide constraints created in a loop

Create a ballsocketadv constraint with near-zero lifespan params and call :remove() on it immediately - it gets created then removed, effectively toggling collision off/on per entity without waiting for the constraint to initialize.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.