Jump to content

how to make right angle(90 degree) spline ?


photo

Recommended Posts

hi. 

i want spline gonna 90 degree angle.
but don't know how to. 
plz help me

and also i used 2.14 ver unigine but whether it will be applied 2.7 ver? 

화면 캡처 2021-07-14 113027.png

Link to comment

Hello.
I didn't quite understand what exactly you need.

maybe this will help you

vec3 forward_direction = normalize(next_point - current_point);
vec3 right_direction = normalize(cross(forward, vec3::UP));

vec3 right_point = current_point + right_direction * distance;

image.png

Link to comment
×
×
  • Create New...