We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f961c commit fa482bdCopy full SHA for fa482bd
Base.rte/Devices/Shared/Scripts/TrajectoryGuide.lua
@@ -23,8 +23,8 @@ function Update(self)
23
self.guideTable[1] = Vector(self.MuzzlePos.X,self.MuzzlePos.Y);
24
25
local actor = ToActor(actor);
26
- guideParPos = self.MuzzlePos;
27
- guideParVel = Vector(self.projectileVel,0):RadRotate(actor:GetAimAngle(true));
+ local guideParPos = self.MuzzlePos;
+ local guideParVel = Vector(self.projectileVel,0):RadRotate(actor:GetAimAngle(true));
28
for i = 1, self.maxTrajectoryPars do
29
guideParVel = guideParVel + Vector((SceneMan.GlobalAcc.X/FrameMan.PPM),(SceneMan.GlobalAcc.Y/FrameMan.PPM));
30
guideParPos = guideParPos + guideParVel;
0 commit comments