FS19 - How to move IndoorCamera

Your forum for all discussions around Modding.
kenny456
Posts: 46
Joined: Tue Aug 28, 2018 7:00 pm

FS19 - How to move IndoorCamera

Post by kenny456 »

This work in FS17:
for i=1, self.numCameras do
if self.cameras.isInside then
self.internalCamera = Utils.indexToObject(self.components, self.camIndex);
end;
end;
x,y,z = getTranslation(self.internalCamera);
x = x + 1
setTtranslation(self.internalCamera, x,y,z)

But in FS19 camera does not move at all. How to index camera object correctly?
wiseguy49
Posts: 389
Joined: Thu Jan 19, 2017 1:25 pm

Re: FS19 - How to move IndoorCamera

Post by wiseguy49 »

This part:
Utils.indexToObject

change to:
I3DUtil.indexToObject

I know for sure that needs to be updated.. but I can't guarantee it will work after just doing that.
kenny456
Posts: 46
Joined: Tue Aug 28, 2018 7:00 pm

Re: FS19 - How to move IndoorCamera

Post by kenny456 »

wiseguy49 wrote: Mon Feb 11, 2019 4:30 pm This part:
Utils.indexToObject

change to:
I3DUtil.indexToObject

I know for sure that needs to be updated.. but I can't guarantee it will work after just doing that.
Thank you, but i used I3DUtil ofcourse...
wiseguy49
Posts: 389
Joined: Thu Jan 19, 2017 1:25 pm

Re: FS19 - How to move IndoorCamera

Post by wiseguy49 »

Well then you might want to say that before I waste my time. Thanks for that.
Post Reply