Post

Replies

Boosts

Views

Activity

Reply to Entity not returning to original position
For anyone who is having the same issue, I fixed it by using ballEntity.move() instead and putting nothing as the rotation - let newTranslation = SIMD3<Float>(0, 0, 1) let moveController = ballEntity.move(to: Transform(scale: simd_make_float3(1, 1, 1), translation: newTranslation), relativeTo: ballEntity.self, duration: 0.2) whereas previously (not working) I was doing this: let newTranslation = SIMD3<Float>(0, 0, 1) let moveController = ballEntity.move(to: Transform(scale: simd_make_float3(1, 1, 1), rotation: anchor.orientation, translation: newTranslation), relativeTo: ballEntity.self, duration: 0.2) Removing the rotation: anchor.orientation helped as my anchor was a bit tilted or moving.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24
Reply to An attribute in the provided entity has invalid value
Someone else might have that bundle ID, or Provisioning Profile might be expired: Stack Overflow
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to About finding Testflight beta testers here
You can upload your app to Airport at https://airport.community . Airport is an App Store style app to find TestFlights. You can learn to create a public link at https://www.raywenderlich.com/10868372-testflight-tutorial-ios-beta-testing#toc-anchor-010
Replies
Boosts
Views
Activity
Oct ’21
Reply to SwiftUI Background Color not Working
I found the problem, I put it in the wrong view. Silly me 🤪.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to What type of project to use?
We are supposed to create an Swift Playgrounds App
Replies
Boosts
Views
Activity
Apr ’22
Reply to Entity not returning to original position
For anyone who is having the same issue, I fixed it by using ballEntity.move() instead and putting nothing as the rotation - let newTranslation = SIMD3<Float>(0, 0, 1) let moveController = ballEntity.move(to: Transform(scale: simd_make_float3(1, 1, 1), translation: newTranslation), relativeTo: ballEntity.self, duration: 0.2) whereas previously (not working) I was doing this: let newTranslation = SIMD3<Float>(0, 0, 1) let moveController = ballEntity.move(to: Transform(scale: simd_make_float3(1, 1, 1), rotation: anchor.orientation, translation: newTranslation), relativeTo: ballEntity.self, duration: 0.2) Removing the rotation: anchor.orientation helped as my anchor was a bit tilted or moving.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Swift Playground Bundle can't find Compiled CoreML Model (.mlmodelc)
@CMDdev I also am having the Codesign failed with non-zero exit code error. I tried editing with Xcode closed and than opened it, and it still doesn't work. When I try to go back to the previous version of the file it says Package resolution failed; see package resolution log for details. Do you have any suggestions?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24