COMMUNITY FORUM

Make Cameras Fixed to Vehicle

Forum Overview >> Farming Simulator 25

CategoryFarming Simulator 25
Created05.08.2025 20:05


Kieran Kasha (Kieran27) 05.08.2025 20:05
Hello!

I'm working on a mod for a specific tractor that adds additional cameras where they are on the actual vehicle. Everything works fine except that when I move the vehicle, there seems to be some inertia where the vehicle gets ahead of the cameras. I'm wondering if this is because I currently have all the cameras in the same TransformGroup.

This is in my i3d, the new cameras are 0-7:
<TransformGroup name="cameras" nodeId="145">
<TransformGroup name="outdoorCameraTarget" translation="0 1.9 0.44" rotation="-24 180 0" nodeId="146">
<Camera name="outdoorCamera" translation="0 0 7.5" nodeId="147" fov="54.4322" nearClip="0.3" farClip="5000" orthographicHeight="1"/>
</TransformGroup>
<Camera name="indoorCamera" translation="0 3.42935 0.189486" rotation="160 0 180" nodeId="148" fov="60" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode0" translation="1.48436e-09 3.797 2.65" rotation="-15 180 0" nodeId="149" fov="57" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode1" translation="-0.619 3.808 2" rotation="-54 180 0" nodeId="150" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode2" translation="-1.4 3.808 0.551" rotation="-54 90 0" nodeId="151" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode3" translation="-0.763 3.825 -1.1" rotation="-58 25 7.38744e-09" nodeId="152" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode4" translation="4.15312e-08 3.807 -1" rotation="-34 0 5.00964e-06" nodeId="153" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode5" translation="0.763 3.825 -1.1" rotation="-58 -25 0" nodeId="154" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode6" translation="1.4 3.808 0.551" rotation="-54 -90 0" nodeId="155" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<Camera name="cameraNode7" translation="0.619 3.808 2" rotation="-54 180 0" nodeId="156" fov="112" nearClip="0.1" farClip="5000" orthographicHeight="1"/>
<TransformGroup name="cameraRaycastNode1" translation="0 2.06849 4.54316" nodeId="157"/>
<TransformGroup name="cameraRaycastNode2" translation="0 3.8662 1.5194" nodeId="158"/>
<TransformGroup name="cameraRaycastNode3" translation="0 2.33927 -2.36936" nodeId="159"/>
<Shape name="shadowFocusBox" translation="0 2.8953 0.669999" shapeId="2" clipDistance="150" nodeId="160" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="5"/>
</TransformGroup>

In the xml, I just have rotation disabled and the cameras specified as not indoors.

Jannes Dirksen (Jannes031200) 30.11.2025 17:50
Hi,

do you want to create cameras like the mirrors of the Mercedes Benz Truck DLC or what do you want to do?


Note: Log in to post. Create a new account here.