Vector:SetMagnitude

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetMagnitude( * A float value that the magnitude will be set to. )
Description:
Sets the magnitude of this Vector and keeps its angle intact.
ReturnsA reference to this after the change.




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