Log in or register to post comments

Is the camera moving or the object?

October 11, 2015 - 4:50pm #1

Hi,

I would like to know if there's any way to detect if the ARCamera is moving or the object (let's say imageTarget) is moving. Because if the camera is moving, even if it's recognizing my image target, I don't want to do anything. But if the imageTarget is moving, I want to do something with it.

At this moment, either I move the object or the camera (using a Moverio glasses), the position changes. I've tried playing with the World Center Mode, but it's not useful.

Thank you!

 

Is the camera moving or the object?

November 10, 2015 - 2:12pm #2

Are you using Unity? If so, you can read the game object's Transform values. If you set World Center Mode (WCM) to Camera, then the camera's position stays fixed and tracked targets will move in relation to it. If you set WCM to First Target, then the camera moves in relation to the first of the actively tracked targets.

Log in or register to post comments