Arma 3 Karts have their LandContact points animated which makes their getPosASL/getPosATL position jump up and down alongside wheels rotation. This creates a problem when you move the Kart with script using setPosATL/ASL, its wheels might end up underground and Kart falls under terrain.
Description
Description
Details
Details
- Severity
- Tweak
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Karts DLC
Steps To Reproduce
- Open Editor, any world.
- Place Player unit and Kart
- Execute this code:
if(isNil"testeh") then { testeh = addMissionEventHandler ["Draw3D", "call draw3d"]; }; veh = objNull; draw3d = { if(vehicle player != player) then { veh = vehicle player; }; if(!isNull veh) then { private _texture = "\A3\ui_f\data\map\markers\military\destroy_ca.paa"; drawIcon3D [_texture, [0, 0, 1, 1], ASLtoAGL getPosASLVisual veh, 1, 1, 0, "getPosASL", 0, 0.04, "PuristaMedium"]; }; }; 0
- Get into Kart and drive
- Observer icon jumping up and down indicating its LandContact animating with wheels rotation.
Check with other vehicles to confirm that its not a normal behavior.