SpriteKit angularVelocity NaN hides view

Originator:keithbsmiley
Number:rdar://19835004 Date Originated:13-Feb-2015 04:25 PM
Status:Open Resolved:
Product:OS X SDK Product Version:10.10.2
Classification:Other Bug Reproducible:Always
 
Summary:
When using SpriteKit, setting a SKSpriteNode's SKPhysicsBody's angularVelocity to 0.0 / 0.0 or NaN makes the view disappear.

Steps to Reproduce:
1. Create a SKSpriteNode
2. Add it to a scene
3. Present it
4. Set the node's physicsBody's angularVelocity to 0.0 / 0.0 or HUGE_VALF

Expected Results:
Nothing should happen or an exception should be raised

Actual Results:
The view disappears

Notes:
See the attached project for an example

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!