Jump to content

Gimballing nozzle problems


Recommended Posts

I'm just beginning to delve into modding, so my knowledge on the subject isn't great, but I've run into an...interesting issue.

I have a gimballing engine (SRB, actually, if that makes a difference.) The nozzle is a separate mesh from the rest of the motor, and it is childed to my thrustTransform.

In game, it does rotate with control input. However, it appears to move the top of the nozzle, rather than the bottom, as if the bottom of the nozzle is the pivot point.

I've tried adding box colliders, moving the thrust transform and/or the nozzle's transform around, but nothing in Unity seems to be working. I don't know if this is a known KSP issue (I can't find it anywhere on here) or possibly something wrong with my model. Anyone have any insight?

PSwV8U8.png

No input

y5ovJmx.png

Input

UEfnca7.png

No input

XfT6FXb.png

Input

These screenshots aren't great, but hopefully they illustrate what I mean. I might up the gimbal range to get more exaggerated screenshots if necessary.

Link to comment
Share on other sites

The nozzle will pivot around its origin point / pivot point, so you'll need to edit that mesh in your 3d program so that the origin is aligned with the throat of your nozzle, or whatever point you want it to rotate around. Then you can move the object itself back to the proper place with respect to your engine, either in your 3d program, or in Unity.

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