Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an object on the detected plane #10

Open
openmotion opened this issue Sep 28, 2018 · 0 comments
Open

add an object on the detected plane #10

openmotion opened this issue Sep 28, 2018 · 0 comments

Comments

@openmotion
Copy link

hello
how can I add an object in the center of the detected plane
in RectangleNode.swift i tried for example to add a simple sphere

let sphereGeometry = SCNSphere(radius: 20)
let sphereNode = SCNNode(geometry: sphereGeometry)
self.addChildNode(sphereNode)
sphereNode.position = position

but the sphere doesn't appears ...

thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant