OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Undeceived on 25 Jan 2008, 17:47:11

Title: Fluent / smooth change of position of camera while it follows vehicle
Post by: Undeceived on 25 Jan 2008, 17:47:11
Hi guys!

It's about an intro, I am making.

I want to change the position of the camera while it follows a vehicle (in this case a helicopter).
The first look on it is from up to down (e.g. x = 0 y=0 z=20).
Then I want to make the cam slowly descent like to x=0 y=0 z=10. And this in 5 seconds.

I read somewhere here in the forums that this is not possible and you can only change the position instantly.
But wouldn't it maybe somehow still be possible to change the position fluently by always adding some cm per loop, to wich the following script always returns? Something like that... But of course I'm not competent to realize it, just an idea...


OR is there any other way to do this, any script, any idea?

Would be great to hear from you!
Thanks
Title: Re: Fluent / smooth change of position of camera while it follows vehicle
Post by: Mandoble on 25 Jan 2008, 20:32:22
If this is for a cutscene, you already know the direction and speed of the chopper, so you dont need to have a camera "following" the chopper, but a camera following the chopper trajectory. Just make sure you commit the position changes to match the speed of the chopper following its same direction.