Jump to content

Animation Troubles


Recommended Posts

Hello everyone. I've been trying to get this animation to work but I haven't been having very much success. Everything works fine in Unity but when I get it into KSP it doesn't deploy when I hit 'Toggle'

Here are the Unity settings for the part I'm trying to add:

c9M9dsZ.jpg

Here's the relevant cfg code:


MODULE
{
name = ModuleAnimateGeneric
animationName = Deploy
isOneShot = false

startEventGUIName = Extend
endEventGUIName = Retract
actionGUIName = Toggle Antenna
}

This is a modified version of a squad antenna part.

I'll also note. When I accidentally left 'play automatically' ticked it did deploy as soon as the part is added to the scene in ksp.

Link to comment
Share on other sites

I think it may just be the name of your animation. I noticed that in the cfg parameters, the animationName is Deploy, but in your unity screenshot, the animation is called Take 001. I'd rename the Unity animation to Deploy and see what happens.

Link to comment
Share on other sites

I think it may just be the name of your animation. I noticed that in the cfg parameters, the animationName is Deploy, but in your unity screenshot, the animation is called Take 001. I'd rename the Unity animation to Deploy and see what happens.

This worked!

Thank you very much!

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