285 B
285 B
MercanRey2.js — getMotionSpeed() (satır 392)
function getMotionSpeed(entity)
{
var motion = entity.getMotion();
return Math.sqrt(motion.x * motion.x + motion.z * motion.z);
}