SpriteKit - enumerateBodyAtPoint and related methods no longer work as expected

Originator:nicholas
Number:rdar://17655049 Date Originated:13-Jul-2014
Status: Resolved:
Product:XCode Product Version:6 Beta 3
Classification:Bug Reproducible:Always
 
Summary:
https://devforums.apple.com/message/1003905#1003905

Steps to Reproduce:
Add physics body to sprite node in scene
Use enumerateBodiesAtPoint or other similar methods to find the physics body at the specified point/rect/ray

Expected Results:
Enumerate all the physics bodies in the scene that contain the point.

Actual Results:
No bodies are found.

In the case of enumerateBodiesInRect, a body is found incorrectly when none should be.  See the attached image, the blue line is where spritekit says the physics body is, the red dots are where enumerateBodiesInRect found the body of the node. 

Version:
iOS8 XCode6 Beta 3

Notes:
Attached image of incorrect body detection
Attached example project

Configuration:
iOS Simulator, MacBook Pro, Retina, 13-inch, Late 2012

Attachments:
'collission detection.png' and 'testcollisions.zip' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!