max
banner
maxxfrazer.bsky.social
max
@maxxfrazer.bsky.social
spatial code farmer
sugar is the toughest one!
consider the fiber content in sugary things such as fruit as a benefit though. fiber helps slow the release of that sugar, avoiding spikes.
September 1, 2025 at 8:20 AM
Reposted by max
This sample code is a gold mine for RealityKit Developers.

Also I tried running it on the Vision Pro and it really is incredible to run the game in immersive mode.
June 25, 2025 at 9:00 AM
this is how we did the conversions before updating scntool.
June 25, 2025 at 8:41 AM
we added some real modularity to this, with completely modular swift packages that you can use in your own projects.
packages for camera movement inside normal scenes, immersive spaces, or portals, a package to add agency movement to entities, and more.
June 24, 2025 at 7:57 PM
scnanim files aren’t covered by scntool, but it should. could you file a fb for it?

for now, you can also load in your model to an SCNScene, apply the animations to the SCNNode, then export that node as a usd file using the “SCNNode/export(…)” API
June 24, 2025 at 7:55 PM
Hi Gil, apologies for the delay, the sample is live now!

developer.apple.com/documentatio...
Bringing your SceneKit projects to RealityKit | Apple Developer Documentation
Adapt a platformer game for RealityKit’s powerful ECS and modularity.
developer.apple.com
June 24, 2025 at 7:52 PM
this is awesome!!
May 3, 2025 at 3:48 PM
oh my bad, that’s for a “float literal”, so you can do “.transparent(opacity: 1.0)” but not a “float variable” such as opacityChange *facepalm*
April 21, 2025 at 8:46 PM
material.blending = .transparent(opacity: opacityChange)
April 20, 2025 at 11:25 PM
fyi you should be able to skip the floatLiteral init

developer.apple.com/documentatio...
init(floatLiteral:) | Apple Developer Documentation
Creates an instance initialized to the specified floating-point value.
developer.apple.com
April 20, 2025 at 11:24 PM
i just looked and the docs don’t show images of what this looks like.
not that many people will know how the plate window effect compares to the default 🙄
April 19, 2025 at 9:06 AM
although i can’t do independent work on public repos or articles these days, i’m grateful i can support the ecosystem in other ways 🛠️🚀
April 19, 2025 at 8:57 AM
when not curated they end up in generic subsections like “protocols” or “structures”
April 19, 2025 at 8:57 AM
a good way to find it is look for the symbols that the docs team haven’t yet curated 😅:
April 19, 2025 at 8:57 AM
for the rotation and translation conversions:
SwiftUI+RealityGestures.swift/gestureValueChanged

that gets passed through to here:
RealityDragComponent+DragEvents.swift/dragUpdated

the package’s readme should help for using it in another project too!
February 17, 2025 at 11:45 PM
how are the controllers?? i saw your post about getting them a little while ago
February 17, 2025 at 11:23 PM
i think the reality gestures package in this sample does that:

developer.apple.com/documentatio...
February 17, 2025 at 11:22 PM
looking forward to see what 2025 brings! ᯅ
January 8, 2025 at 10:40 AM
i hope the developers using it can see some visible improvements to the API, documentation, and sample code that make it clear RealityKit is a first-class citizen in the ecosystem.
January 8, 2025 at 10:40 AM