astone Posted April 10, 2015 Posted April 10, 2015 Is it possible (in UnigineScript or a C++ plugin) to draw arbitrary polylines in 3D space? Drawing them to a WidgetCanvas seems straightforward enough, but I can't seem to find a function to do it in 3D. Does UnigineScript provided low enough level methods to do this? Could these lines be drawn dynamically to a mesh or a surface instead? Is there a, "best practice," for doing this sort of thing in Unigine? Thank you, Andrew
ulf.schroeter Posted April 11, 2015 Posted April 11, 2015 https://developer.unigine.com/en/docs/1.0/scripting/library/objects/class.objectmeshdynamic#OBJECT_MESH_DYNAMIC_MODE_LINES
ulf.schroeter Posted April 11, 2015 Posted April 11, 2015 https://developer.unigine.com/en/docs/1.0/scripting/library/engine/engine.visualizer#engine.visualizer.renderLine3D_vec3_vec3_vec3_vec3_vec4
astone Posted April 13, 2015 Author Posted April 13, 2015 Thank you! This is exactly what I was looking for.
Recommended Posts