Log in or register to post comments

3d perspective of model

February 10, 2012 - 6:56am #1

Hi All,
I am developing an AR app using Unity. I am using ImageTarget sample. I am able to replace the "teapot" model with our 3D animated model. I am able to animate that and it's scaling and transforming according to marker in environment on iOS device also.
But every time I get the animation from "top view" on iOS device and in Unity game view. I need same perspective on that I am getting in Unity scene view i.e. I want to show my animation from 3d perspective.
Can you please suggest me how I can mange this using C# script or we need to do something at time exporting these model from Maya or we need to do something while importing them to Unity ?

Thanks,
Mohit

Re: 3d perspective of model

February 10, 2012 - 3:10pm #2

I'm not sure I understand... Make your model a child of the target, and then it should be bound to that target in the camera view. You can transform the object to rotate it and place it however you'd like in relation to the target.

Make sure you've attached a TrackableEventHandler to the target to hide your model when tracking is lost.

- Kim

Log in or register to post comments