Bending a pipe by 'x' degrees?

Blitz3D Forums/Blitz3D Programming/Bending a pipe by 'x' degrees?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You could use a 4 pt Bezier curve where you specify the start position and then end position and set the 2 middle points to influence the curves start and end directions. This will give you the center of the bend.

Then get the direction of the curve at a specific timestep by positioning a pivot at the currect timestep and point it to the next timestep. Then extrude the vertices on the x and y axis relative to this pivot.

Not sure if that made sense? At least I know what I mean ;)

Stevie