Using the face anchor feature in Reality Composer, I'm exploring the potential for generating content movement based on facial expressions and head movement.
In my current project, I've positioned a horizontal wood plane on the user's face, and I've added some dynamic physics-enabled balls on the wood surface. While I've successfully anchored the wood plane to the user's head movements, I'm facing a challenge with the balls. I'm aiming to have these balls respond to the user's head tilts, effectively rolling in the direction of the head movement. For instance, a tilt to the right should trigger the balls to roll right, and likewise for leftward tilts.
However, my attempts thus far have not yielded the expected results, as the balls seem to be unresponsive to the user's head movements. The wood plane, on the other hand, follows the head's motion seamlessly.
I'd greatly appreciate any insights, guidance, or possible solutions you may have regarding this matter. Are there specific settings or techniques I should be implementing to enable the balls to respond to the user's head movement as desired?
Thank you in advance for your assistance.
Post
Replies
Boosts
Views
Activity
Is there a way to open an app on Apple Watch from the iOS companion app as Maps is doing?
When a navigation is started from Maps in iOS, Maps app starts right away on Apple Watch. Notice that it is not the notification which is started on Apple Watch, it's the real Maps which is automatically launched on Apple Watch.
Do you know how to reproduce the same behaviour for any apps in watchOS?
Best!
Hi!
I have some trouble with local notification delivery on Apple Watch.
It can take more than 1 minute to see the first local notification delivered. I made sure to not use a trigger so the notification will be delivered right away possible as specified in the UNNotificationRequest initializer doc.
But there is always a delay for notification delivery.
Here is how I'm creating the local notification:
content.title = "title"
content.subtitle = "subtitle"
content.body = "body"
content.userInfo = "userInfo"
content.categoryIdentifier = "categoryIdentifier"
content.threadIdentifier = "threadIdentifier"
content.sound = UNNotificationSound.default
let notifyRequest = UNNotificationRequest(identifier: stringWithUUID(), content: content, trigger: nil)
let center = UNUserNotificationCenter.current()
center.add(notifyRequest) { ( error: Error?) in
if let theError = error {
print(theError.localizedDescription)
} else {
print("Scheduled OK")
}
}
Do you have any idea how to avoid the delay?
Best!
Hi!
When using string method of DateComponentsFormatter, it gives sometimes an extra unit(2) in the formatted string instead of one.
In the following snippet, formattedString gives 213d 1h instead of 213d.
let durationShort: DateComponentsFormatter = {
let formatter = DateComponentsFormatter()
formatter.allowedUnits = [.day, .hour, .minute]
formatter.unitsStyle = .abbreviated
formatter.zeroFormattingBehavior = .dropAll
formatter.maximumUnitCount = 3
formatter.collapsesLargestUnit = false
return formatter
}()
let formattedString = durationShort.string(from: TimeInterval(86400 * 213))
Any idea?
Trying to run the demo project for wwc20-10099 in a iPhone 11 Pro using the supplied sample.mov, or real board. The entire time the app has the "Locating board" overlay instead of finding the board before the bean bags begin to be tossed.
And I also have this issue:
Error Domain=com.apple.vis Code=12 "processing with VNANERuntimeProcessingDevice is not supported" UserInfo={NSLocalizedDescription=processing with VNANERuntimeProcessingDevice is not supported}
Environment:
Big Sur 11.0 beta 20A5343i
XCode 12.0 beta 12A8179i
iPhone 11 Pro on iOS 14 beta 4
Hi!
I've installed iOS beta 4 on my iPhone 11 Pro and since then, I lost the signal and I don't have data. I have another iPhone X with iOS 14, and I don't have issue with it. It only occurs on iPhone 11.
I tried many things like: Reset network setting
Turn off/on airplane mode
Turn off/on cellular data
Hard reboot
Soft reboot
Reset content and data
Turn off/on roaming
...
Same issues
It seems that the cell is looking for the signal constantly.
Do you have any idea how to fix it ?
Hi !
Is there a was to do an Apple Watch screen recording the same way we can do with iPhone screen recording?
Best!
Hi!
I’m making an app with core Bluetooth. Do you know if it is possible to detect when the iPhone is connecting to or disconnecting from a paired car in background?
Best regards!
Yemey