[scenekit] SCNPhysicsShape's Create should take a SCNMatrix4 array, not SCNVector3 - #4040
Conversation
…ot SCNVector3 - Fixes dotnet#4030: SCNPhysicsShape.Create transforms param is bound incorrectly (dotnet#4030)
Build failure
|
|
Known issue: |
|
@VincentDondain this introduces a breaking change: Type Changed: SceneKit.SCNPhysicsShape
Removed method:
-public static SCNPhysicsShape Create (SCNPhysicsShape[] shapes, SCNVector3[] transforms);
Added method:
+public static SCNPhysicsShape Create (SCNPhysicsShape[] shapes, SCNMatrix4[] transforms); |
|
@rolfbjarne fixed in #4126, I missed the ! However we should fix the report for API diff #4040 (comment), it should have failed. |
That's not as easy to automate as it sounds 😒 |
|
@rolfbjarne shouldn't "API Diff (from PR only)" fail the build? If we want we can always justify and merge anyway. Subsequent PRs shouldn't fail because the breaking change would then end up in "API Diff (from stable)" and we wouldn't make this one fail the build. In any case I think "API Diff (from PR only)" should at least show 🔥 if there breaking changes. |
…ot SCNVector3 (dotnet#4040) - Fixes dotnet#4030: SCNPhysicsShape.Create transforms param is bound incorrectly (dotnet#4030)
(SCNPhysicsShape.Create transforms param is bound incorrectly #4030)