Quickly creating/removing nocollide constraints in a loop
π Constraintsβ’Updated 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.