Skip to content

Commit

Permalink
bob correction
Browse files Browse the repository at this point in the history
  • Loading branch information
APercy committed Nov 10, 2021
1 parent 40d49eb commit 197f667
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hidroplane_custom_physics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ function hidroplane.physics(self)
--local v_accell = {x=0,y=buoyacc-(vel.y*abs(vel.y)*0.4),z=0}
--mobkit.set_acceleration(self.object,v_accell)
new_velocity = vector.add(vel, vector.multiply(accell, self.dtime))
--self.object:set_velocity(new_velocity)

else
mobkit.set_acceleration(self.object,{x=0,y=0,z=0})
Expand Down

0 comments on commit 197f667

Please sign in to comment.