Jump to content

Animation not playing for light


Recommended Posts

I GOT IT FIXED, THANKS!

Hello, I am having some trouble getting a light and emissive to work on command.

Here is the main screen:

avB2rxS.png

here is the animation pane:

g3tmRQ6.png

here is the cfg:

MODULE
{
name = ModuleLight
lightName = Spotlight1,Spotlight2
useAnimationDim = true
lightBrightenSpeed = 1
lightDimSpeed = 1
resourceAmount = 0.01
animationName = headlights
useResources = true
}

The animation was created in the root gameobject.

The right-click menu appears as it should, but the light does not turn on nor does any light appear.

Edited by SpaceK531
Link to comment
Share on other sites

Based on the presence of the "animator" window on the right, I'm guessing that you're using Unity 4.3. You need to use Unity 4.2 if you want emissive animations to work. Check the stickied thread on emissives at the top of this forum for more.

Link to comment
Share on other sites

Based on the presence of the "animator" window on the right, I'm guessing that you're using Unity 4.3. You need to use Unity 4.2 if you want emissive animations to work. Check the stickied thread on emissives at the top of this forum for more.

Why is this? What did Unity 4.3 break?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...