Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _begPos = positionCameraToWorld [0,0,0]; // <----- THIS IS WHERE THE ISSUE IS MOST LIKELY
- _begPosASL = AGLToASL _begPos;
- _endPos = positionCameraToWorld [0,0,1000]; // <----- THIS IS WHERE THE ISSUE IS
- _endPosASL = AGLToASL _endPos;
- _ins = lineIntersectsSurfaces [_begPosASL, _endPosASL, player, objNull, true, 1, "FIRE", "NONE"]; _parent = _ins select 0 select 3; _ins2 = [_parent, "FIRE"] intersect [_begPos, _endPos]; _ins2 select 0 select 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement