Quantcast
Channel: Questions in topic: "curved path"
Viewing all articles
Browse latest Browse all 116

Calculating center line of curved pipe

$
0
0
I want to have have a disk move vertically through a curved pipe. The pipe's shape and size will stay the same, but the position and rotation in a 3d space will be random. Is it possible to calculate the centerline of this pipe piece to act as a path for the disk? Is there some function that given the pipe's position and rotation, and the disk's current position and rotation, it will tell me where the disk should move to in the next frame? Here are some instances of the pipes orientation in a 3d space: ![enter image description here][1] Here are the measurements of the curved pipe and the circles that define it: The pipe is a 30 degree turn. ![enter image description here][2] [1]: http://i.stack.imgur.com/xJx4e.png [2]: http://i.stack.imgur.com/fCCsv.png

Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>