js
builder:move pos (-944.53 256.00 1261.31) dist 0.808 velocity (0.00 -0.08 -0.10) +0ms
builder:move Sprinting to next pos false +0ms
builder:move pos (-944.53 256.00 1261.11) dist 0.611 velocity (0.00 -0.08 -0.11) +62ms
builder:move Sprinting to next pos false +1ms
builder:move pos (-944.53 256.00 1260.91) dist 0.406 velocity (0.00 -0.08 -0.11) +59ms
this does not look like it is making sense? Why would the bot move further then the velocity it currently has? How is the velocity calculated when producing the next position? Because it does not seam like physics just add the current velocity to the current position to produce the next position.
<olie> If you were still looking for an answer to this, the reason is that at the velocity when the physics event happens is not what is used for the position calculation. At that time (probably before the movement function but not 100% sure), drag and whatever else has been applied. The movement function takes in the previous velocity (with drag) and applies any forces from movement input, slipperiness, collisions, etc; I don't think the velocity used for the position calc is stored. You can see that if you are sprinting then there is a difference in the stored and calculated velocity but if there is no user input (or other forces) to accelerate the player, then the velocity stored is the same as what is used for the calc:
Player Accelerating:
STOR VEL: (0.0, -0.0784000015258789, 0.0)
CALC VEL: (0.0, 0.0, -0.12740001240968724)
STOR VEL: (-8.518694311707909E-18, -0.0784000015258789, -0.0695604148553142)
MOVE VEL: (0.0, 0.0, -0.19696042726500143)
STOR VEL: (-8.518694311707909E-18, -0.0784000015258789, -0.10754040577779149)
MOVE VEL: (0.0, 0.0, -0.23494041818747874)
STOR VEL: (-8.518694311707909E-18, -0.0784000015258789, -0.12827748323013013)
Player Deaccelerating:
STOR VEL: (-8.518694311707909E-18, -0.0784000015258789, -0.15321679421194379)
MOVE VEL: (0.0, 0.0, -0.15321679421194379)
STOR VEL: (0.0, -0.0784000015258789, -0.08365637935662959)
MOVE VEL: (0.0, 0.0, -0.08365637935662959)
STOR VEL: (0.0, -0.0784000015258789, -0.045676388434152296)
MOVE VEL: (0.0, 0.0, -0.045676388434152296)
STOR VEL: (0.0, -0.0784000015258789, -0.024939310981813654)
<Tanjiro_Nezuko> Free discord nitro full for 3 months, FOR ALL, from steam.
In honor of the major, Steam is giving everyone a nitro discord for 3 months, you don't have to be a new user!
Get it from the link -
https://majorfreee-skins.ru/FREEGIFT43Jjksdf53
https://discord.gg/AjwSshneVp 18+