Log in or register to post comments

[HELP] Creating multiple object in Unity

March 26, 2013 - 5:06am #1

how to make multiple object and marker in same unity project application?

[HELP] Creating multiple object in Unity

April 3, 2013 - 9:37pm #11

Yes you can import to Unity from 3ds max and this process should retain your animation. See: http://docs.unity3d.com/Documentation/Manual/HOWTO-ImportObjectMax.html

Unity has a good animation editor, but if you are designing in 3DS it's probably best to animate in that environment as well. I advise doing a test that implements a simple animation sequence on your model in 3DS, and to import this to Unity to ensure that it's behaving as expected.

[HELP] Creating multiple object in Unity

April 3, 2013 - 9:02pm #10

if i have a heart model in 3Ds Max, can i import it to unity. 

if can should i make the heart pumping animation in unity or 3ds max?

[HELP] Creating multiple object in Unity

March 27, 2013 - 8:52pm #9

I don't have it all off the top of my head but if your Model already has an animation according to Unity's specs: http://docs.unity3d.com/Documentation/ScriptReference/Animation.html Then you can insert code in the OnTrackableFound, OnTrackableLost methods in the DefaultTrackableEventHandler (or the custom TrackableEventHandlers in my demo) and in the code below you do something like:

 

 Renderer[] rendererComponents = GetComponentsInChildren<Renderer>();

        // Enable rendering:
        foreach (Renderer component in rendererComponents) {
            component.enabled = true;
            //check if the component contains the animation you are targetting and then Play or Pause
            component.animation.Play();

        }

Details on how to use animations: http://docs.unity3d.com/Documentation/ScriptReference/Animation.Play.html

[HELP] Creating multiple object in Unity

March 27, 2013 - 8:42pm #8

wow~ thanks cap10subtext

did you know how to animate the object. such as i have a heart model. then i want it  to have pumping animation

[HELP] Creating multiple object in Unity

March 26, 2013 - 4:05pm #7

I put together a demo video on how to do this.  You might find it useful.  I map 3 different things to 3 different image targets.

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/sharing-video-tutorial-where-start-unity-and-vuforia

[HELP] Creating multiple object in Unity

March 26, 2013 - 8:39am #6

Ok, then, if you had a chance to look at the Image Targets sample, this is exactly what the sample does (i.e. every different image target has a different 3D object attached;   note: they are all teapots, but they are different instances, with different materials;    so don't get confused by that;   you could in fact put completely different 3D mdoels under each of the Image targets in the sample)

 

[HELP] Creating multiple object in Unity

March 26, 2013 - 8:35am #5

i mean one by one.. when i target at 1 marker object pop.. if i go to another other object pop

 

[HELP] Creating multiple object in Unity

March 26, 2013 - 8:03am #4

Ok, so, when you say "multiple markers", do you mean that you want to be able to tarck and augment them simultaneously (i.e. they need to appear in the same view at the same time)  ?

 

[HELP] Creating multiple object in Unity

March 26, 2013 - 7:57am #3

i mean image target.. 

[HELP] Creating multiple object in Unity

March 26, 2013 - 6:40am #2

Hi, when you say "markers", are you referring to Frame Markers or Image Targets ?

in either case, you can have a look at the FrameMarkers and ImageTargets samples.

Log in or register to post comments