mludowise / mludowise/ARKitRectangleDetection

add an object on the detected plane

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
168
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading RectangleNode.swift and tracing how the detected plane's position is calculated and where child nodes are added. Check how the supplied sphere geometry and position are used; done means a sphere is visibly added at the center of the detected plane.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
computer-vision, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.