Jump to content

How to draw a cube in-game? (with or without textures)


Recommended Posts

Is there a way to draw a cube in-game, without having to import a texture or a mesh? I want to create a visual element 100% by code, that could be dragable, but nothing more. Just like a visual guide to help constructing crafts in VAB/SPH. If it is not possible, can someone point me in the right direction on how to make it? Im triying to learn how to make plugins for KSP, and my experience with unity is 0.

Link to comment
Share on other sites

I think the best hint for you is, that you as a beginner should look for mods who do what you try to accomplish. There are a bunch of procedural mods out there, though that might be a little bit to complex. There also recently was someone who wanted to display a CoM marker in flight, what might be an easier start. No idea where or if his stuff is [already], though. Anyway, you most likely end up building a model at runtime, just like those procedural mods.

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