CodeBase - Relative Positioning Using Originating Object's Rotational Values
Uploaded: 19th Apr 2013 10:24
Modified: 19th Apr 2013 10:35
I find this equation significantly useful in Dark Basic Pro. It will take one object's rotational angles and output Coordinates for positioning an object on an imaginary sphere surrounding the original object.
Objnum - object number to center coordinates around.<br /> r - radius<br /> x - X Position on sphere<br /> y - Y Position on sphere<br /> z - Z Position on sphere<br /> <br /> If you have any questions, feel free to send me an e-mail at firstname.lastname@example.org and i'll do my best to help you find an answer.
No comments yet.