Log in or register to post comments

Object size depends on marker size?

February 7, 2012 - 10:29am #1

I've noticed that the same 3d object has different size, when drawn on markers of different size.
I need to have bounding box for picking and collision detection, so I need to know the size of the object. But I can't predict it, because meshes and markers will be loaded at runtime. How do I solve this problem?

Re: Object size depends on marker size?

February 7, 2012 - 9:11pm #2

You could scale your object using the size of the trackable. Use these API calls to get the trackable size:

ImageTarget::getSize()
Marker::getSize()

- Kim

Log in or register to post comments