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