Jump to content

Solar Panel Animations


Recommended Posts

My panels aren't working right. When I extend panels they play the extending and retracting animation, and don't seem to actually leave the Status: Retracted.

See pic:

http://imgur.com/rjC74u1.jpg

In my model the animation is 600 frames, 0-299 extending and 300-600 retracting. I tried this with one animation because the config I was copying only had one animationname value (a squad animated PV part).

The animation: (FBX)

http://imgur.com/xra87Ej.png

part.cfg module:

http://imgur.com/vM34Cjp.png

Link to comment
Share on other sites

Solved the problems.

What I learned:

Apparently the game uses one animation for both extending and retracting the part. It just reverses the animation when stowing the panels.

I changed the animation to just the first 300 keyframes (deployment or panels)

To get sun tracking to work I added an empty GameObject in Unity, that was the parent of all the parts models. I had to rotate the new pivot's Y axis to match the desired tracking axis.

Set raycastTransformName and pivotName to the empty GameObject pivot.

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