Breaking: Hierarchy scale is now the default: a parent's Scale now scales its children's size and offset, so apps with scaled parents will render differently.
New PoseUtils functions read and write where an entity renders in either scale mode: setAbsoluteTransform(), getAbsoluteScale(), setAbsoluteScale(), getLocalPoseForAbsoluteTransform(), and getLocalScaleForAbsoluteScale().
getAbsoluteTransform(), getRelativePose(), and reparentChildInWorldCoordinates() now follow the active scale mode.
FollowableSystem, LightSystem, ProjectionLightSystem, stereo canvas panels, and IsdkResizeSystem now work under scaled parents.
To keep pose-only scale:
Breaking: The physics library now runs on Jolt Physics instead of Bullet, so existing scenes may need retuning.
Bodies grip, bounce, and roll differently. Contacts grip and bounce more for the same friction and restitution, gravity is now −9.81 m/s², and angular damping is now 0.05 instead of 0.85, so balls roll and spin much longer.
Moving glTF bodies need a convex hull. A DYNAMIC glTF body now needs CollisionShapeType.CONVEX_HULL; triangle meshes are for static scenery. Collision meshes also need merged vertices.
Setting a dynamic body's Transform now moves it, instead of being overwritten by physics.
New tuning controls: linearDamping, angularDamping, and allowSleeping on the Physics component, PhysicsFeature.setSleepSettings(), and opt-in continuous collision with ScenePhysicsObject.setContinuousCollision(). Changes to a Physics component now update the existing body.
Deprecated: Pose-only scale (TickTransformSystem.applyScale, ScaleSystem, getAbsoluteScaledTransform(), and isScaleHierarchyApplied()) is now deprecated. Use getAbsoluteTransform(), getAbsoluteScale(), setAbsoluteTransform(), and setAbsoluteScale().
Deprecated: ScenePhysicsObject.setDeactivationTime(), ScenePhysicsObject.setSleepingThresholds(), and FrictionObject's rolling and spinning friction are now deprecated and have no effect. Use PhysicsFeature.setSleepSettings(), Physics.allowSleeping, and angular damping.
Breaking: These long-deprecated APIs are now removed.
com.meta.spatial.runtime.ScenePhysicsObject: use com.meta.spatial.physics.ScenePhysicsObject with PhysicsFeature.
com.meta.spatial.toolkit.Color3 and Color4: use com.meta.spatial.core.Color3 and Color4.
Audio(audio: String, volume, pitch): use Audio(Uri.parse(audio), volume, pitch).
SceneTexture.createFromPlatformImage(), which already threw: use the SceneTexture constructor with update().
Breaking: These deprecated APIs now fail to compile; already-compiled code still works.
IsdkFeature: remove it; VRFeature sets up ISDK.
Scene XML inflation (inflateIntoDataModel() and the scene XML loaders): use Entity.create() or glXFManager.inflateGLXF().
Query.registerEventListener() and QueryEventListenerManager: use Entity.registerEventListener().
Query.with(): use Query.where { has(...) }.
PanelSceneObject.getTexture(), getLayer(), getPanelShapeConfig(), getSwapchain(), getSurface(), and getDisplay(): use the matching properties.
MRUKPlane.size(): use getSize().
IsdkSystem.enableDebugTools(): use debugToolsEnabled.