This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Include the library. --> | |
<script | |
src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js" | |
></script> | |
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) --> | |
<link | |
rel="stylesheet" | |
href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π Morning 88 commits βββββββββββββββββββββ 14.1% | |
π Daytime 147 commits βββββββββββββββββββββ 23.6% | |
π Evening 200 commits βββββββββββββββββββββ 32.1% | |
π Night 189 commits βββββββββββββββββββββ 30.3% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class CustomJump : MonoBehaviour | |
{ | |
public float jumpPower = 5f; // μ ν Force | |
private const float GRAVITY = -9.81f; // μ€λ ₯ κ°μλ | |
private Vector3 vel; // νμ¬ μλ | |
private Vector3 acc; // νμ¬ κ°μλ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ν¬λ¬Όμ μΌλ‘ μλκ² | |
void FireSkelBomb(GameObject Bomb) | |
{ | |
playerPos = PlayerTrans.position; | |
displace = playerPos - transform.position; | |
distance = Mathf.Pow((displace.x) * (displace.x) + (displace.z) * (displace.z), 0.5f); //μνλλ¬κ±°λ¦¬ κ³μ° | |
BombInitVelocity = new Vector3(displace.x, distance * Mathf.Tan(angle_degr * Mathf.Deg2Rad), displace.z).normalized; //λ΄κ° ν¬λ¬Όμ μΌλ‘ μ 벑ν°μ λ¨μλ²‘ν° κ³μ° | |
BombInitVelocity = BombInitVelocity * Mathf.Sqrt( Mathf.Abs(Physics.gravity.y) * distance / Mathf.Sin(2 * angle_degr * Mathf.Deg2Rad); //물리μ μλλ μ€λ ₯μ λΉλ‘νκΈ° λλ¬Έμ *μ€λ ₯ μμ ν¨* |