MOSRotating:SetRecoil

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetRecoil( * A vector with the recoil impulse force in kg * m/s.
  • A vector with the recoil offset in pixels.
  • Whether recoil should be activated or not for the next Draw(). )
Description:
Adds recoil offset to this MOSprite.
ReturnsNone.




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