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
<!-- 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
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); //물리식 속도는 중력에 비례하기 때문에 *중력 수정함* |