Jump to content

Control Surface Orientation


Recommended Posts

I've been working on some parts for a mod I'm making, and I'm having trouble with my control surface part. The part is similar to the delta-deluxe winglet in that it has a built-in control surface, which I attempted to do by having the control surface as a separate mesh which I assigned the module to. It is mostly working, but it rotates around the wrong axis. I tried re-orienting it in Unity, and it didn't change, and I tried re-doing the axes in blender but it didn't carry over into Unity. How can I make the control surface rotate about the correct axis?

 

Link to comment
Share on other sites

Control surface transform rotates around its PARENT's X-axis (and appears to ignore its own rotation).

Create an empty at the postiion of where your flap should rotate.  Rotate that empty so that x+ points along the hinge of the flap.  Reparent your flap to this empty transform.  The trasformName in your config file should be the name of the flap - NOT the name of the empty.

Recently ran into this myself while prototyping some parts and it took a few days to figure out what was going on.

Link to comment
Share on other sites

Can confirm it rotates around X axis. The angle you defined in the cfg how much the control surface can extend out is added to the the current X orientation, so you'll maybe need to add another empty and set the control surface as a child of it in order to rotate properly. What Shadowmage said. ;)

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