drawLine3D does not render when looking through cockpit glass of MH-9, and AH-9, but will when looking out side door openings, only when complete line of sight between object and player is made. drawline3d _WILL_ render properly through glass in Ka-60 and Hunter.
Description
Description
Details
Details
- Legacy ID
- 3852680025
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 7
- Category
- Visual-Vehicles
Steps To Reproduce
Create XH-9 Vehicle, execVM a sqf, or spawn this code:
while{true} do {
drawLine3D [getPos player,getPos someobject,[1,0,0,1]];
};
Fly, rotate copter to look out side, observe 3dline, observe through cockpit glass, no line. test with Ka-60, observe 3dline through cockpit glass.
Status | Assigned | Task | ||
---|---|---|---|---|
New | None | T184653 drawLine3D visibility issues: at night, through sights, and more | ||
Acknowledged | None | T66225 drawLine3D not visible through mh-9 and ah-9 glass |
Event Timeline
Comment Actions
As of beta this only applies to the AH-9 and MH-9. All other helicopters render drawline3d through glass
Comment Actions
Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.
If this issue is still relevant in current dev build, please re-post.
Comment Actions
issue persists. quick repro:
- open editor with Virtual Reality terrain
- place a (player) unit
- start scenario
- paste code into console:
player moveInDriver ("B_Heli_Light_01_F" createVehicle [0, 0, 0]); addMissionEventHandler ["Draw3D", { private _from = [0, 25, 0]; for "_j" from 0 to 360 step 10 do { private _to = [25 * sin _j, 25 * cos _j, 0]; for "_i" from 0 to 2 step 0.2 do { _from set [2, _i]; _to set [2, _i]; drawLine3D [_from, _to, [1, 0, 1, 1]]; }; _from = _to; }; }];
- you're in a helicopter now. look sideways, out of the open cockpit side. observe pink lines surrounding you... that vanish straight where the cockpit window begins.