CodeBase - Relative Positioning Using Originating Object's Rotational Values
Return to the CodeBase listing
Category: Games
Version: 1.0
Information
Uploaded: 19th Apr 2013 10:24
Modified: 19th Apr 2013 10:35
Author: SnarShooter
Summary
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.
Full Description
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 [email protected] and i'll do my best to help you find an answer.
Comments
No comments yet.