Marcousik Posted July 25, 2020 Share Posted July 25, 2020 I am searching about this, maybe someone has suggestions: How would you write a function/script to make a model align to the terrain ? Any suggestion? We have usable functions ready to use to know the Height and the slope at a given position; Terrain:GetElevetaion() and Terrain:GetSlope() thx Quote Link to comment Share on other sites More sharing options...
Josh Posted July 25, 2020 Share Posted July 25, 2020 Terrain::GetNormal() 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Marcousik Posted July 25, 2020 Author Share Posted July 25, 2020 thx Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted July 25, 2020 Share Posted July 25, 2020 Use AlignToVector() to align to the terrain's normal. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.