Create objects with ground plane detection only once with Vuforia & Unity

Anup G Prasad picture Anup G Prasad · Feb 6, 2018 · Viewed 9.3k times · Source

I am trying to create an AR app using Unity & Vuforia. I have a 3D model that needs to be spawned when ground plane is detected.But this needs to happen only once. The way Vuforia work is, it keeps on spawning objects when new plane is detected. So what i need to do is either detect plane only once or spawn the object only once. As i am new to Unity, i need help doing this. Great if someone could tell me what i need to do to achieve this.

Answer

zyonneo picture zyonneo · Jun 4, 2018

Vuforia has updated.Now There is no DeploymentStageOnce script.Inorder to stop duplicating while we touch, we have to turn off Duplicate Stage in Content Positioning Behaviour (Script)Check the Inspector when we click Plane Finder. enter image description here