• Content count

  • Joined

  • Last visited

Community Reputation

869 Excellent

About VR_Dev

  • Rank
    Unity Developer

Contact Methods

  • Website URL https://www.youtube.com/channel/UCx4Fn6LeGOW4cKUZ2iU79-g

Recent Profile Visitors

2,388 profile views
  1. VR_Dev

    [WIP] Infernal Robotics - Next

    I can now auto rig any design with a skeleton based on this simple naming structure. The servos group themselves based on angle axis, regardless of the random way they are positioned by the user. If anyone wants to see their creations loaded up you can organize/name the limbs, and send them my way. Next is figuring out auto -generated IK, then I'd be happy to help incorporate it into the mod if you're interested Rudolf.
  2. VR_Dev

    [WIP] Unity Editor Plugin

    I can now auto generate a skeleton on any IK structure based on this simple naming convention. The limb has to be its own group, which includes "ik" somewhere in the title. The base (1st) joint needs to include "base", and the last joint needs to include "wrist". Anything you want to skip, and any extentrons need to include "skip". Feel free to rig up your mechs and send them my way for testing. These skeletons are auto generated, and the servos grouped by their pivot axis. The sections with the same color will move the leg along the same axis. I have also taken rotation into account, so servos that are 180 of their group will be adjusted.This is all the groundwork needed to attempt autogenerating the IK.
  3. VR_Dev

    F-22 Raptor MRK VIII

    Couple videos testing my new KSP Unity editor plugin. Second video is incorporating the autopilot from the video above.
  4. VR_Dev

    [WIP] Infernal Robotics - Next

    Imagine if you could tweak those values from the unity editor...
  5. VR_Dev

    Work-in-Progress [WIP] Design Thread

    This thread has me reminiscent of my old f-16 https://gfycat.com/DefinitiveFittingHamadryad Follow up to my hexapod. Wanted to make something walk on all fours, with the option for upright locomotion. Finally happy with the design, so its time to make it walk and fly.
  6. VR_Dev

    [WIP] Infernal Robotics - Next

    Hey man, glad to see all is going well with the Mod. I've been super busy with the groundwork for my mech project, but am finally getting back into construction. I downloaded the latest beta and am going to build my new mech with your parts. My biggest request for IR right now is for joints that have a range larger than 180 degrees. Right now there is only one part that can do this, and it's not very compact. I'm also curious if you've done any research into multiaxis joints, or was that a dead end? I'm gonna take a look at the source code over the long weekend so I have a better understanding of if this is possible or not. Are there any plans for new models?
  7. VR_Dev

    [WIP] Unity Editor Plugin

    Still hard at work at this. Didn't have much to show on the bridge rework but I've finally optimized it to be as fast as possible, and have begun adding features into the platform. First off is the autopilot from my f-22 drone race. (https://www.youtube.com/watch?v=HEbhV4tjA8E&t=27s). You can input raw steering data or have it match a target. My joystick has never worked in KSP but now I am able to use it through unity. This video is raw control, but soon you will be able to position the second target vessel, and have the real one match its rotation. GenerateCamera() will automatically place a camera in the ksp scene and a render texture in the unity scene. You can also move the camera in unity and it will move in ksp. Render textures can now be sent at 60fps as well. Still need to remove the UI layers from the created camera however. This will be necessary to control the bots in VR, and still see whats happening in the game. As shown in the examples above I can also send the meshes over the bridge to unity. This will be helpful for a visual reference on top of the line skeletons. I have to figure out a way to get the manipulated IR components to look correct however. My next big project is writing a component that will automatically map any IR arm, and automatically calculate it's IK. This will most likely not be easy, but I believe it is doable, and would be the most useful feature to other people. I plan on rebuilding the hexapod with this system, but am also trying to build this. I want a mech that can walk, as well as have VTOL short to medium range capabilities. Also seems like a good stepping stone towards an upright, bidepal mech.
  8. VR_Dev

    Unity Controlled IK Mechs

    Trying to build this. Got an ok start. If any mech builders wanna take a crack at it I'll credit you in all the walking videos. Def want the engines included. https://www.dropbox.com/s/prmmdwlvy8wsp7y/GorillaMech 4.craft?dl=0
  9. VR_Dev

    [WIP] Unity Editor Plugin

    Damn dude that thing is slick. Really solid IR skeleton which will work well fully rigged. Also like some of the clipping joints you created. As I'll explain below I've taken a step back form the robotics to rework the bridge, but when I get back at it I'll give yours a test. Yeah dude I hear ya. Everything in this thread right now has the robotics and memory files intertwined. It is also using my old custom process hack. Now that I can get memory files to work in ksp, I am building the whole thing from scratch as two separate projects. The independent memory mapped bridge, and the robotics on top of that. What I am in the process of building are two dlls, one server and one client, that will allow anyone to use this system. I am working hard to make it as easy as possible for people to use by requiring no up front initialization. If I recall correctly in kRPC, you have to declare the variables you want to use at start, which was kind of annoying. Using my method all you have to do is call ReadValue(string Key), and WriteValue(string key, float/vector3 value), and you will be able to access the value from the editor, or a stand alone application. I also plan to build the camera stream feature into the bridge. So it's a giant step back but a huge step forward. Once I get the Memory Mapped plugin working, I will return to the robotics. As for the other questions, it just needs the standard unity editor now, but like I said, it will be supported in stand alone applications just like kRPC, no download now but soon, it the new system will be open and documented, and it should be 1.4 compatible there is nothing limiting it to a certain a ksp version. On a completely separate note looks like someone beat me to native KSP VR. https://www.reddit.com/r/KerbalSpaceProgram/comments/87m019/you_cant_check_the_staging_with_vr/
  10. VR_Dev

    Unity Controlled IK Mechs

    If you take two legs off the hexapod the script automatically switches to quadrapod mode. The leg shape will still be a little dif then an ATAT though. That probably needs a code rework. Tons of people have made walking ATATs though. Check out youtube
  11. Wanted to start a thread to host the craft for my project, and try to keep craft design and mod dev separate. I know nothing about hexapods so the design has lots of room for improvement. Also need a rocket to carry it to other worlds. If your curious about the technique behind the bridge, the thread is here. If you want to try the walking program, know a little about Unity, and have a decent PC, hit me up. Hexapod https://kerbalx.com/VR_Dev/VR_Dev-Hexapod [BDA][Surface Lights] [TweakScale] [IR Rework] Bidedal [Soon]
  12. VR_Dev

    [WIP] Unity Editor Plugin

    I don't really have time to write out all the details right now but I got memory files to work between .net 3.4 and 4. While I thought my process trick was pretty clever, this is insanely faster. Here is a render texture captured in ksp, displayed in the unity editor at 20-30 fps. If I limit the texture display frame rate the ksp frame rate improves, but the Unity render texture frame rate drops, which is fine for now. Essentially I have to rebuild the whole system based around the new memory bridge. But I'm going to try and make it a releasable platform for people to use. This was the main problem in my project. Now that I have this figured out I'm gonna build some crazy stuff.
  13. VR_Dev

    [WIP] Unity Editor Plugin

    Holy sht I just saw the 1.4 changelog. It claims Unity was updated to 2017. That means I should be able to use memory mapped files in ksp without my third party process. Also makes in game VR much more attainable. If they updated the .net version this could be huge. Edit: Got super excited about this but turns out I was wrong. I knew that would be a huge change but figured all the old mods would still compile in a newer .net version Edit again: Confused cause this code tells me ksp is targeting 4.0, but mmap files don't work still. RegistryKey installed_versions = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\NET Framework Setup\NDP"); string[] version_names = installed_versions.GetSubKeyNames(); //version names start with 'v', eg, 'v3.5' which needs to be trimmed off before conversion double Framework = Convert.ToDouble(version_names[version_names.Length - 1].Remove(0, 1), CultureInfo.InvariantCulture); int SP = Convert.ToInt32(installed_versions.OpenSubKey(version_names[version_names.Length - 1]).GetValue("SP", 0));
  14. Awesome. Glad to see you getting back at it. I can help with any IK you want to incorporate.
  15. VR_Dev

    [WIP] Unity Editor Plugin

    Thanks for the hot tip. Haven't even started on the real thing yet so I'll have to hold onto that. The terrain adaptation is actually super easy, gait generation is the tough part for me, so I'd be down to trade secrets. I sent you a pm about the project files. Thanks dude, the friction is surprisingly ok, but I've def had that problem in the past. I've played with adding wheel modules to parts to try and increase their friction but I've never been really able to make it work. I haven't been working on this project lately because I am in the process of moving to a new apartment. What free time I can manage has been going to this guy lately.