-
Couldn't load subscription status.
- Fork 240
Open
Description
final debugSphere = ARKitSphere(radius: 0.05, materials: [ARKitMaterial(diffuse: ARKitMaterialProperty.color(Colors.red))]);
ARKitNode debugNode = ARKitNode(geometry: debugSphere, position: vector.Vector3(0, 0, 0));
arkitController.add(debugNode, parentNodeName: planeAnchor.nodeName);
final ARKitNode dinoNode = ARKitReferenceNode(
name: dino.key,
url: 'art.scnassets/stegoceras_validum.usdz',
scale: vector.Vector3(dino.value.scale, dino.value.scale, dino.value.scale),
position: vector.Vector3(0, 0, 0),
eulerAngles: vector.Vector3(0, 0, 0),
);
arkitController.add(dinoNode, parentNodeName: planeAnchor.nodeName);
there are two nodes - red ball and dino
when i create ARKitNode it stays at one place where it is supposed to be, when i try the same with ARKitReferenceNode it is moving with camera
Is it possible that the parentNodeName for ARKitReferenceNode is not being set properly, causing it to be added to the root node (camera space)?
Metadata
Metadata
Assignees
Labels
No labels
