Недавнее содержимое от chiteroloco

  1. C

    onSendPlayerSync quaternion

    function eulerToQuaternion(position, target) local deltaX = target.x - position.x local deltaY = target.y - position.y local deltaZ = target.z - position.z local angleY = math.atan2(deltaX, deltaZ) * (180 / math.pi) local halfAngle = angleY * 0.5 local angleRad =...
  2. C

    onSendPlayerSync quaternion

    up
  3. C

    onSendPlayerSync quaternion

    помогите с кватернионами в SendPlayerSync я хочу, чтобы мой игрок смотрел на другого игрока по оси Y (data.quaternion[3]) на основе моей и его позиции, есть идеи, как это сделать?