Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Need help for mesh target to camera !!

Discussion in 'Community Learning & Teaching' started by snedgel, Jan 17, 2013.

  1. snedgel

    snedgel

    Joined:
    Jan 11, 2013
    Posts:
    8
    Hi , here is my problem . I have a scene with an animate mesh and a camera and i want that the animate object look at the camera ( i need a path ( spline or something ) between my mesh and my camera ). And the problem is that i need that the spline refresh at every frame and continue to look at the camera if we move her ( in want that the mesh move to the camera and play an another animation when he arrive to the camera . ( likes he hurt the glass of the camera ). Don't know if you can help me with some of tutorial or something .

    Sorry for my bad english don't hesitate to ask me if you don't understand some poitn of my request .

    Thanks
     
  2. Belthasar

    Belthasar

    Joined:
    Jan 10, 2013
    Posts:
    3
    Might need to code that in with Cs/javascript within the update block. animate.gameObject