kiriwin Posted July 14, 2021 Posted July 14, 2021 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?
cash-metall Posted July 14, 2021 Posted July 14, 2021 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;
kiriwin Posted July 14, 2021 Author Posted July 14, 2021 well, thanks to reply i tried but didn't succeed ㅠㅠ (actually doesn't understood) but i found solution! i made 3 spine each other and merge point then got i want i attached file how to thank you! :) bandicam 2021-07-14 13-27-21-768.mp4 1
silent Posted July 14, 2021 Posted July 14, 2021 kiriwin Great! :) Please keep in mind that WorldSplineGraph is experimental object and we do not recommend to use it in production (especially for some critical parts of your application). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts