Files

285 B
Raw Permalink Blame History

MercanRey4.js — getMotionSpeed() (satır 126)

← MercanRey4.js · ← Master

function getMotionSpeed(entity)
{
    var motion = entity.getMotion();

    return Math.sqrt(motion.x * motion.x + motion.z * motion.z);
}