Log in or register to post comments

Model Target At Fixed Position

April 29, 2019 - 2:59am #1

Hello,

I am trying to keep the augmentation(3D Car Model) at the exact detected position after the model target is detected.

The augmentation should not move or rotate, even if I move the device(iPad camera) somewhere else.

In unity, I have changed the parent of augmentation from "Model Target Behavior Component" to a Empty Gameobject, Ground plane at the instance of detection.

I have disabled the Model Target Behavior & Trackable Event handler components, once the model target is detected.

I also enabled the Extended tracking and changed the world center mods.

But still the augmentation is changing its position, if I move very close to augmentation, rotate the device(iPad) or move the device outside from the view of augmentation.

Could you please help me on this issue.

Thanks You in Advance.. : )

Model Target At Fixed Position

May 16, 2019 - 11:20am #6

Hello,

PrabhuG wrote:

But the issue is still persists. The augumentation is still oscillating when I walk around the car. Its also change its position & rotation if I move closer to the augumentation.

Reading this response, I'm reconsidering my original feedback.

It sounds like you're trying to continue the 6DoF tracking experience with Vuforia Model Target tracking disabled. As this has nothing to do with Vuforia, I cannot assist you further.

Thanks,

Vuforia Engine Support

Model Target At Fixed Position

May 15, 2019 - 11:07pm #5

Does anyone find any solution?

Model Target At Fixed Position

May 2, 2019 - 7:49am #4

Hello,

Thank you for your reply.

I assume, you are referring Augumentation(3D Car Model) Transform Position & Rotation values as 6DoF pose.

Based on your guideline I have followed below steps.

I have modified the DefaultTrackableEventHandler script.

Step 1: I have assigned the Augumentation Position,  Rotation values to Vector3 & Quaternion variables respectively when the tracking is found.

Step 2: After that I have reassigned the Variable values to Augumentation transform position & rotation in the FixedUpdate() function.

Step 3: I have also turned off the TrackingFound() & TrackingLost() function calls, Once the model target is detected. I did this inorder to turn off the tracking loop.

Step 4: I have taken builds with different world centre modes along with extended tracking on/off. 

But the issue is still persists. The augumentation is still oscillating when I walk around the car. Its also change its position & rotation if I move closer to the augumentation.

Am I Doing something wrong?

I have uploaded the script screenshots for reference.

It would be very helpful, if you provide a solution.

Thanks again.. : )

AttachmentSize
Image icon 1.png468.07 KB
Image icon 2.png516.66 KB
Image icon 3.png416.29 KB

Model Target At Fixed Position

May 1, 2019 - 2:23pm #3

Hello,

Sounds like you're only interested in whether the car has been detected. I would think that once the Model Target starts tracking, you could store the 6DoF pose of the car and only render based upon that pose rather than the updates provided by Vuforia Engine in the tracking loop. This way you get a pose from Vuforia after detection, but you ignore any pose updates from the tracking loop.

I believe you'd have to implement via scripting as we offer no Editor short-cuts to enable such a use case.

Just some thoughts.

Thanks,

Vuforia Engine Support

 

Model Target At Fixed Position

April 30, 2019 - 12:13pm #2

Same issue here

Log in or register to post comments