Jump to content
Sign in to follow this  
firefly2442

Does the drawLine3D method work?

Recommended Posts

https://community.bistudio.com/wiki/drawLine3D

Anyone get the drawLine3D method working?

private ["_player","_marker_pos"];
//https://community.bistudio.com/wiki/drawLine3D
_player = getPos player;
_marker_pos = getMarkerPos "marker1";
drawLine3D [_player, _marker_pos, [1,1,1,1]]; //tried with both 0 and 1 for alpha value
hint "Finished";

This is what I have. There are no errors but nothing is visible.

Share this post


Link to post
Share on other sites
onEachFrame {
private ["_player","_marker_pos"];
_player = getPos player;
_marker_pos = getMarkerPos "marker1";
drawLine3D [_player, _marker_pos, [1,1,1,1]]; //tried with both 0 and 1 for alpha value
};

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
Sign in to follow this  

×