Jump to content

Part animating during initial loading of launch pad.


sirkut

Recommended Posts

I decided to learn blender/unity piece meal and I am running into a problem. I'm using the Firespitter plugin to handle my animations.

I created a simple box with a cone on the inside that when you animate it, the cone will rise out of the box.

Frame 1 has cone is inside the box.

Last frame has the cone sticking out.

The preview of the part shows the cone sticking halfway out and if you place it in the vab it doesn't animate which is what I want. If I go to the space center, then go back into the VAB, I see the cone animating back into the box. What am I missing?

Link to comment
Share on other sites

Are you making sure to specify the correct animation in the config file?

It should look like:

MODULE
{
name = FSanimateGeneric //or whatever it is...
animationClip /*or whatever it's called*/= animationName //animationName needs to be replaced by the name of the animation you made in Unity
//other stuff
}

Link to comment
Share on other sites

I fixed the cone sticking out of the preview box. I had to change the position of the cone in Unity. It still wants to animate when I go back into the VAB on the other hand. The config I have for it is:

MODULE

{

name = FSanimateGeneric

animationName = spike

startEventGUIName = Expand spike

endEventGUIName = Collapse spike

toggleActionName = Toggle spike

availableInEVA = True

EVArange = 10

}

Link to comment
Share on other sites

You have the cases for the animation name correct? ("Spike" and "spike" are two entirely different things in programming)

Find the animation in Unity and make sure you're using the animation name, not the animated object's name.

Link to comment
Share on other sites

I made the object and the animation the same name. All lower case "spike" in this case. If I rename the animation to spiker to be different it still performs as explained.

Link to comment
Share on other sites

I fixed the bug with the animation starting deployed and going towards the retracted state the day before yesterday. I had some conditions flipped.

Showing the animation in the hangar when you place/load the part can be useful however, to make it obvious that this is an animating part that can be deployed, so now there is a config value still to play the animation in the hangar.

You can find the updated dll in the pre-release.

Since there have been changes, please do tell, if there are any exciting new bugs.

The cfg value documentation can be found here.

Link to comment
Share on other sites

I fixed the bug with the animation starting deployed and going towards the retracted state the day before yesterday. I had some conditions flipped.

Showing the animation in the hangar when you place/load the part can be useful however, to make it obvious that this is an animating part that can be deployed, so now there is a config value still to play the animation in the hangar.

You can find the updated dll in the pre-release.

Since there have been changes, please do tell, if there are any exciting new bugs.

The cfg value documentation can be found here.

Thank you so very much for the information! I'll try it when I get home.

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...