1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

How to get back the door/wheel camera?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Cobra_Fast, Jul 16, 2017.

  1. Cobra_Fast

    Cobra_Fast
    Expand Collapse

    Joined:
    Sep 8, 2015
    Messages:
    25
    Some previous version of the game had a camera besides the car facing forward, front wheel still in view. This camera mode seems to have been removed for a while now (some mod cars still have it).

    How do I get it back?
    Do I need to create a custom camera?
    If so, how do I do that?
     
  2. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    2,927
    Edit, I understand you better. You're talking about the relative camera. It still works, but it has a different default. (No longer the wheel). Use WASD to move the relative camera.
     
  3. EcoNadder77

    EcoNadder77
    Expand Collapse

    Joined:
    May 29, 2017
    Messages:
    1,150
    Are you referring to this camera view?
    screenshot_00605.png
     
  4. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    My monster truck has a "wheel" camera. I had to define a custom camera for it.

    Node 490 is the POV/focus.
    Code:
    "camerasInternal":[
      ["type","x","y","z","fov","id1:","id2:","id3:","id4:","id5:","id6:"],
      {"nodeWeight":1.5},
      {"selfCollision":false},
      {"collision":false},
      {"beamSpring":125000,"beamDamp":100},
      {"beamDeform":5000000,"beamStrength":"FLT_MAX"},
      ["dash",0.00,-0.28,3.10,80,"str","n33","n34","n43","n44","e1"],
      ["wheel",1.75,-0.28,1.25,85,"str","n5","n53","n54","n86","e1"],
      ],
     

    Attached Files:

    • wheel_cam.jpg
    • node.jpg
  5. Cobra_Fast

    Cobra_Fast
    Expand Collapse

    Joined:
    Sep 8, 2015
    Messages:
    25
    Thanks, this basically works. Any way to save a position?

    Yes, that looks like it.
     
  6. EcoNadder77

    EcoNadder77
    Expand Collapse

    Joined:
    May 29, 2017
    Messages:
    1,150
    There's a section of code in the Jbeam file for each vehicle that's commented out. If you un-comment it, it adds that old camera mode. It's located in the camera internal section of the (main/body/frame) Jbeam file.
    Code:
        "camerasInternal":[
            ["type", "x", "y", "z", "fov", "id1:", "id2:", "id3:", "id4:", "id5:", "id6:"],
            {"nodeWeight":2.2},
            {"selfCollision":false}
            {"collision":false}
            {"beamSpring":120000,"beamDamp":645},
            //hood cam
            ["hood", 0.0, -0.7, 1.1, 65, "c3r","c5r","c5l","c3l","c4r","c4l"{"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
            //fender cam
            //["fender", -1.3, 0.3, 0.65, 65, "c3r","c5r","c5l","c3l","c4r","c4l"{"beamDeform":5001000,"beamStrength":"FLT_MAX"}],
            {"beamSpring":500, "beamDamp":80},
            {"selfCollision":true}
            {"collision":true},
            //dash cam
            ["dash", 0.414, 0.28, 1.01, 55, "rf1","rf1l","rf3","rf3l","c4r","c4ll"{"beamDeform":5001000,"beamStrength":"FLT_MAX"}]
        ],
    Notice the "//" before "["fender", -1.3, 0 . . . ]". If you remove the "//", it adds that camera view to the car.
     
    #6 EcoNadder77, Jul 17, 2017
    Last edited: Jul 17, 2017
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice