-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
I've tried to add model to my scene, and was struggling for some time, because model was invisible:
<ARKit.Model
position={{ x: -0.2, y: 0, z: 0, frame: 'local' }}
scale={0.01}
model={{
file: 'art.scnassets/ship.scn', // make sure you have the model file in the ios project
}}
/>
After some digging i've found if scale is not set this way, model is invisible:
<ARKit.Model
position={{ x: -0.2, y: 0, z: 0, frame: 'local' }}
model={{
file: 'art.scnassets/ship.scn', // make sure you have the model file in the ios project
scale: 0.01,
}}
/>
I think we need update project README.md, so it will be more clear how to use model component.
macrozone
Metadata
Metadata
Assignees
Labels
No labels