Jump to content

Create A Triangle Mesh Based on three points


photo

Recommended Posts

Hi,

I want to create a triangle mesh based on three points ( I know the world position of the points).

How to do that?

Untitled77.thumb.png.1b13970b8f96a11f6c6026232d447468.png

 

Thanks

Link to comment

Hi Lukas,

It looks like you need to construct MeshDynamic: https://developer.unigine.com/en/docs/2.7.1/code/usage/dynamic_meshes

Please, keep in mind that Mesh can handle only floating point numbers, so you need to convert your coordinates first, so they would be in a smaller range.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...