master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 6fcf1cf09f - Show all commits

View File

@ -331,8 +331,8 @@ local function xp_step(self, dtime)
velocity = vector.multiply(direction,multiplier) velocity = vector.multiply(direction,multiplier)
goal = velocity goal = velocity
acceleration = vector.new(goal.x-currentvel.x,goal.y-currentvel.y,goal.z-currentvel.z) acceleration = vector.new(goal.x-currentvel.x,goal.y-currentvel.y,goal.z-currentvel.z)
self.object:add_velocity(vector.add(acceleration,player_velocity or vector.new(0, 0, 0))) self.object:add_velocity(vector.add(acceleration,player_velocity))
elseif distance < 0.4 then elseif distance < 0.8 then
local xp = self._xp local xp = self._xp
local inv = collector:get_inventory() local inv = collector:get_inventory()
local candidates = { local candidates = {