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

Triggering a Mesh Render animation on Collision

Discussion in 'Animation' started by newdusk00, Feb 10, 2014.

  1. newdusk00

    newdusk00

    Joined:
    Jan 10, 2014
    Posts:
    1
    $unityHelpGraphic.jpg

    Hello I am not great at scripting in Unity and I have been falling down the rabbit hole with this one. Can anyone help me script this?

    I have been looking around in forums for similar scripts that would allow me to play my Mesh render animation but I have not found anything that seems to work well for me.

    Here is what I have

    1 group: "blinkyTest"
    1 controller: "blinkyTest 1"
    1 animation: "blink"

    Base Geometry
    6 cubes that turn on and off.

    1 "Collider plane" that the FPS controller walks over which will trigger the animation "blink" on my "blinkyTest" group