MOSprite:RotateOffset

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:45, 28 June 2012

Function
SyntaxRotateOffset( * A vector which is supposed to be offset from this' center when upright. )
Description:
Takes a vector which is offset from the center of this when not rotated or flipped, and then rotates and/or flips it to transform it into this' 'local space', if applicable.
ReturnsThe resulting vector whihch has been flipped and rotated as appropriate.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools