Hello.

I’m trying to implement conveyor lines that the player can construct during gameplay. I have a certain set of rules that the player must consider, when constructing the conveyor.

One of these rules are the maximum slope allowed at any given distance along the spline.

However, I’m not sure how to calculate this.

I’ve looked into formulars to calculate the angle between two vectors, but I can’t seem to wrap my head around the maths

Hence this post. I appreciate all the help I can get

If you need further information to understand the issue, please don’t hesitate to ask. I’ll do my best to answer