Change Y rotation from 45° to 30°. Only send velocity when required.

Smoother position correction when the X,Y,Z directions weren't changed
This commit is contained in:
SmallJoker
2017-11-18 12:38:25 +01:00
parent 4498605509
commit ca55c6f3c0
2 changed files with 20 additions and 11 deletions

View File

@ -18,7 +18,7 @@ function boost_cart:manage_attachment(player, obj)
default.player_attached[player_name] = status
if status then
local y_pos = self.old_player_model and 6 or -4.2
local y_pos = self.old_player_model and 6 or -4
player:set_attach(obj, "", {x=0, y=y_pos, z=0}, {x=0, y=0, z=0})
player:set_eye_offset({x=0, y=-4, z=0},{x=0, y=-4, z=0})
else