Post

Replies

Boosts

Views

Activity

Can a physical body be partially contained by an edge-loop body?
I have a sprite kit scene with an edge loop physics body set programmatically with the category bit mask set to a custom Physics Category called Edge. Through the scene editor, I've added several sprite nodes with varying physics body types and various category masks and collision masks. The collision mask for a particular sprite node includes the Edge category. Initially, I have this node partially off the screen on the scene editor but when I run the program, it appears completely inside the edge loop. Is it possible to have a sprite node be positioned partially inside the edge loop and partially outside the edge loop?
0
0
545
Sep ’23
Xcode Won't Launch After Crash
Xcode will try to open to the last opened project, which caused the crash, but it will just crash again. Any suggestions? Edit: I submitted the logs to apple and a restart did not resolve. Translated Report (Full Report Below) Process: Xcode [836] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 14.3.1 (21815) Build Info: IDEFrameworks-21815000000000000~2 (14E300c) App Item ID: 497799835 App External ID: 857328487 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2023-09-02 09:57:22.3965 -0400 OS Version: macOS 13.5.1 (22G90) Report Version: 12 Anonymous UUID: C53B443F-47B9-4610-5294-CDFB25DDE82B Time Awake Since Boot: 300 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000016b5d3fe0 Exception Codes: 0x0000000000000002, 0x000000016b5d3fe0 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [836] VM Region Info: 0x16b5d3fe0 is in 0x167dd0000-0x16b5d4000; bytes after start: 58736608 bytes before end: 31 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL mapped file 167dcc000-167dd0000 [ 16K] r--/rw- SM=COW ...t_id=d707e06b ---> STACK GUARD 167dd0000-16b5d4000 [ 56.0M] ---/rwx SM=NUL ... for thread 0 Stack 16b5d4000-16bdd0000 [ 8176K] rw-/rwx SM=PRV thread 0 Kernel Triage: VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage VM - (arg = 0x0) pmap_enter retried due to resource shortage
1
0
691
Sep ’23