Page MenuHomeFeedback Tracker

enablePersonTurret = false results in glitched camera
Assigned, NormalPublic

Description

There are issues when one uses enablePersonTurret script command to disable a FFV position.
For example, on Offroad car (e.g. I_G_Offroad_01_F), if you enter "Passenger Right Seat 1" or "Passenger Left Seat1" (turretID 2 and 3 respectively). If you disable person turret, and then turn out, the Character points forward (check external camera), but the internal camera is locked to pointing backwards.

It seems the animation executed during the turnout move does not apply to the camera.

example IMG

Also, the position of the animation may completely change - possibly due to proxy animations not applying. For example on Mora APC (I_APC_tracked_03_cannon_F), the commander sits a lot lower if you disable FFV - only the head shows, the arm glitches through the vehicle. It may not be the worst here, but it can be depending on offsets of proxies between turned-in and turned-out state.
In a custom vehicle of mine, the crew ends up sitting 2m above from the position it would have if FFV was enabled.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

"Glitched Camera":
Enter Passenger Right Seat 1 of "I_G_Offroad_01_F" or equivalent
Turn Out (to aim forward)
execute: "vehicle player enablePersonTurret [[2], false];"

Turning-Out Position Change on Proxy not applying (looks like):
Enter Commander Seat of "I_APC_tracked_03_cannon_F"
Turn Out (to aim forward)
execute: "vehicle player enablePersonTurret [[0,0], false];"

Additional Information

This is also the case in mods, for example on rhsusf_stryker_m1126_m2_d on the Rear Passenger Hatch positions (turret id 1 and 2) (camera showing wrong direction)

Event Timeline

Fennek created this task.Dec 29 2020, 6:31 AM
Fennek edited Steps To Reproduce. (Show Details)Dec 29 2020, 6:34 AM
Fennek updated the task description. (Show Details)Dec 29 2020, 6:47 AM
Fennek edited Steps To Reproduce. (Show Details)
Fennek edited Additional Information. (Show Details)
dedmen claimed this task.Jan 4 2021, 3:01 PM
dedmen changed the task status from New to Assigned.
dedmen set Ref Ticket to AIII-53679.