Announcement

Collapse
No announcement yet.

[VR Template C++] Share EpicGames VR Template Full C++ Porting Project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [VR Template C++] Share EpicGames VR Template Full C++ Porting Project

    <EpicGames VR Template Full C++ Convert Project>

    Hello Community!

    I am VR Indie Developer In Korea.

    I am going to share the VR Template of Epic Games with Full CPP as open source.

    Thanks!!

    Here is Template Code!

    https://github.com/Sombusta/SomTemplate_VR

    Attached Files
    Last edited by Sombusta; 08-16-2018, 01:55 AM.

    #2
    Hi, thanks for the template. However, I get an error when trying to build for 4.19 Error: BT ERROR: Failed to produce item: /.../UE4Editor-SomTemplate_VR.dll

    Comment


      #3
      Originally posted by Limbicnation View Post
      Hi, thanks for the template. However, I get an error when trying to build for 4.19 Error: BT ERROR: Failed to produce item: /.../UE4Editor-SomTemplate_VR.dll
      Thank you for notice that error

      i will check that error soon!

      Comment


        #4
        Originally posted by Limbicnation View Post
        Hi, thanks for the template. However, I get an error when trying to build for 4.19 Error: BT ERROR: Failed to produce item: /.../UE4Editor-SomTemplate_VR.dll
        In 4.19.
        TP_MotionController.cpp

        In OnConstruction Function,

        you need to change this.

        // SomWorks // Deprecated Hand Variable 4.19, Use this API.
        // MotionController->Hand = Hand; // 4.18 Code
        MotionController->SetTrackingSource(Hand); // 4.19 Code

        Comment


          #5
          Thank you Sombusta! I will try this

          Comment


            #6
            It worked! Thank you

            Comment


              #7
              Hey guys, I've been trying to get this to run on the latest preview of unreal engine 4.20, but I'm getting a massive amount of errors trying to compile. Has anyone been able to do this?

              Comment


                #8
                Originally posted by Snipe3000 View Post
                Hey guys, I've been trying to get this to run on the latest preview of unreal engine 4.20, but I'm getting a massive amount of errors trying to compile. Has anyone been able to do this?
                I didn't checked yet when the version are 4.20 because it was preview

                but i'll check it when official release later.
                Last edited by Sombusta; 07-19-2018, 12:02 AM.

                Comment


                  #9
                  Originally posted by Snipe3000 View Post
                  Hey guys, I've been trying to get this to run on the latest preview of unreal engine 4.20, but I'm getting a massive amount of errors trying to compile. Has anyone been able to do this?
                  I found what was the problem.

                  In Unreal Engine 4.20 Version, i checked that the navigation system and some code were big updated and deprecated

                  I will update this code soon.

                  Thank you.

                  Comment


                    #10
                    How did you use UHeadMountedDisplayFunctionLibrary ? Because in the source code it's private (well BlueprintPure)

                    Comment


                      #11
                      Originally posted by Alexandre_Marie View Post
                      How did you use UHeadMountedDisplayFunctionLibrary ? Because in the source code it's private (well BlueprintPure)
                      hmm.. If that's right what I understand,

                      first, your ProjectName.Build.cs add HeadMountedDisplay Modules for Use HeadMountedDisplayFunctionLibrary.

                      like this <PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay" });>

                      second, include "HeadMountedDisplayFunctionLibrary.h" and then you can use UHeadMountedDisplayFunctionLibrary Static Functions

                      Profit!
                      Last edited by Sombusta; 07-23-2018, 02:56 AM.

                      Comment


                        #12
                        Originally posted by Snipe3000 View Post
                        Hey guys, I've been trying to get this to run on the latest preview of unreal engine 4.20, but I'm getting a massive amount of errors trying to compile. Has anyone been able to do this?
                        Finally, i updated 4.20 Project.

                        i modified my code, and than 4.20 compile Success.

                        If have problems, please reply to this thread.

                        Thanks!

                        Comment


                          #13
                          Originally posted by Sombusta View Post

                          Finally, i updated 4.20 Project.

                          i modified my code, and than 4.20 compile Success.

                          If have problems, please reply to this thread.

                          Thanks!
                          Hey why did you make the components in the motion controller class private? I can't access them from other C++ classes as a result, why not have them be public so blueprints and other C++ classes can access them?

                          Comment

                          Working...
                          X