Files

285 B
Raw Permalink Blame History

MercanRey2.js — getMotionSpeed() (satır 392)

← MercanRey2.js · ← Master

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

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