![]() ![]() The Direction object exists primarily to enable automated steering. Using the negation operator - on a Direction does the same thing as using the :INVERSE suffix on it. This Direction’s starboard vector (z axis after rotation). This Direction’s top vector (y axis after rotation). This Direction’s forward vector (z axis after rotation). The suffixes of a Direction cannot be altered, so to get a new Direction you must construct a new one. Set by a rotation in degrees SET Direction TO R ( 0, 90, 0 ). Steer the vessel in the direction // suggested by direction X. Create a rotation facing northeast, // 10 degrees above horizon SET Y TO HEADING ( 45, 10 ). ![]() Initializes a direction to prograde // plus a relative pitch of 90 SET X TO SHIP : PROGRADE + R ( 90, 0, 0 ). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |