Log in or register to post comments

more pics as same target

January 16, 2012 - 8:23am #1

Hi, in unity you naste all objects to be displayed under specific target. But I'd like to get same object to be displayed on more different targets. Like showing same pot on chips.png and sameone on stones.png but I don't want to add pot object twice unser each target. is it possible to apply 2 materials or 2 pics on same target?
thanks.

Re: more pics as same target

January 17, 2012 - 1:26pm #4

Thanks for tips guys. Will look in performance cost of cloning. probably will try re-parenting first.

Re: more pics as same target

January 16, 2012 - 8:24pm #3

You could also reparent a single model to the currently visible target. Do this in the TrackableEventHandler OnTrackingFound method. Be sure to reset the model's position and orientation once it is a child of the new target.

- Kim

Re: more pics as same target

January 16, 2012 - 9:51am #2

Well what you can do is make the object you want to augment as a prefab and instantiate as many as you'd like a make each one a child of the target at runtime.

For more info look here

Log in or register to post comments