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 2d4517e commit cc940b6Copy full SHA for cc940b6
Techion.rte/Devices/Explosives/NanoSwarmGrenade/NanoSwarm.lua
@@ -209,7 +209,7 @@ function Update(self)
209
end
210
211
--Counteract gravity.
212
- wasp.Vel = Vector(wasp.Vel.X, wasp.Vel.Y - SceneMan.Scene.GlocalAcc.Y * TimerMan.DeltaTimeSecs);
+ wasp.Vel = Vector(wasp.Vel.X, wasp.Vel.Y - SceneMan.Scene.GlobalAcc.Y * TimerMan.DeltaTimeSecs);
213
214
if wasp.Vel.Largest > self.maxSpeed * speedMod * attackMax then
215
wasp.Vel = (wasp.Vel/wasp.Vel.Largest) * self.maxSpeed * speedMod * attackMax;
0 commit comments