Announcement

Collapse
No announcement yet.

Help needed : transitioning between first person/3rd person, ue4 3rd person template

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

    Help needed : transitioning between first person/3rd person, ue4 3rd person template

    I was tinkering around with the default 3rd person template and i managed to be able to switch between first and 3rd person mode. However, i broke something somewhere and now i can not rotate/move my camera view unless my character is moving. I have no idea whats going on so could any kind souls here enlighten me?

    *Changes were all done in "mycharacter" class blueprint
    *i deleted the default "springArm", added 2 "scene component", 1 for 3rd person, 1 for 1st person.
    *i used "world location" from the "scene component" to facilitate the transitioning between 1st/3rd person
    *f_status is used as a boolean to determine whether if the current view is in 1st person(or not)
    *The rest of the blueprints is exactly the same as default 3rd person template, did not make any changes to those.

    Click image for larger version

Name:	ue4_1.png
Views:	1
Size:	268.3 KB
ID:	1134456
    Last edited by Haktae; 05-03-2014, 09:19 AM.

    #2
    Well the springArm is what is actually moving the camera around in the third person template.

    You can either bring it back, attach the camera to it and then update the springArm's "Target Arm Length" and/or the location depending on what you are trying to do (also make sure "Use Controller View Rotation" is checked in the component's detail panel).

    You could also try enabling "Use Controller View Rotation" on the actual camera itself or you can manually update the camera's rotation based on the controller in the tick event.

    4.10 Update! -> [Community Project] WIP Weather & Ocean Water Shader
    WIP Interactive Water Shader, WIP 2D Water Sim
    WIP FFT Ocean w/ Foam, Quad-tree Infinite Ocean LOD

    Comment


      #3
      Unreal has a whole playlist on their YouTube on how to make a 3rd person shooter from scratch. I'd recommend watching that if you need more help, as it will cover how to rebuild it all for you. https://www.youtube.com/playlist?lis...368myr-Kg2ZLwb

      Comment


        #4
        Originally posted by Furroy View Post
        Unreal has a whole playlist on their YouTube on how to make a 3rd person shooter from scratch. I'd recommend watching that if you need more help, as it will cover how to rebuild it all for you. https://www.youtube.com/playlist?lis...368myr-Kg2ZLwb
        Originally posted by TK-Master View Post
        Well the springArm is what is actually moving the camera around in the third person template.

        You can either bring it back, attach the camera to it and then update the springArm's "Target Arm Length" and/or the location depending on what you are trying to do (also make sure "Use Controller View Rotation" is checked in the component's detail panel).

        You could also try enabling "Use Controller View Rotation" on the actual camera itself or you can manually update the camera's rotation based on the controller in the tick event.
        Alright, thanks guys. Will give those solutions a go.

        Comment

        Working...
        X