[Pregunta] Visual Scripting: Get length of a 3D line [Guardado]

Etiquetas:
  • Visual scripting
  • Nodes

Hello everyone,

I developed a VS that needs a 3Dline as input (Node: <Line3DInput>). In order to change the inclination of the 3Dline (e.g. with a double input of the inclination), I want to get the horizontal, vertical, and diagonal length (like the three sides of a triangle). Is there a node that gives me these length values back or do I have to calculate them manually (coordinate differences)?

Regards,

Marco

Adjuntos (1)

Type: image/jpeg
Descargado 30 veces
Size: 24,40 KiB

Show solution Hide solution

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Adjuntos (1)

Type: image/png
Descargado 96 veces
Size: 18,05 KiB

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Adjuntos (1)

Type: image/png
Descargado 96 veces
Size: 18,05 KiB

Hi Horst,

thank you for your answer - it helped me a lot.

Best regards

Marco