Jump to content
Jetrise

Video Creation - Follow Turret of Vehicle

Recommended Posts

Hello All,

 

I'm doing some video editing for upcoming content being released, however, I wanted to know if it was possible to follow the turret of a vehicle as it turns? See video below from a game called Squad that does it in one of their videos.

 

 

I didn't know where to post this, so I hope this is the right place!

 

Thanks,

 

Jet. 

 

Share this post


Link to post
Share on other sites

It's possible, you could use weaponDirection in combination with camCreate and the alternate syntax of getPos.  Poor all of that into a eachFrame event-handler and you should be able to recreate that video.

(To get the weapon dir of an MBT in degrees instead of in x,y,z format use:

private _weaponDir = _targetVehicle weaponDirection ((_targetVehicle weaponsTurret [0]) select 0);
private _weaponDeg = (_weaponDir select 0) atan2 (_weaponDir select 1);

with _weaponDeg being the direction in degrees.)

 

There'll probably be other ways to do this that may be easier or more efficient, this is just what I can think of atm.

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×