블로그 이미지
Every unexpected event is a path to learning for you. blueasa

카테고리

분류 전체보기 (2870)
Unity3D (902)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (194)
협업 (65)
3DS Max (3)
Game (12)
Utility (142)
Etc (100)
Link (34)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (16)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (4)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (11)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
 

Unity 6000.3.5f2

----

 

2D 게임에서 캐릭터 점프 후, 벽쪽으로 이동키(혹은 조이스틱)를 누르고 있으면 캐릭터가 떨어지지 않는 문제가 있어서 해결하면서 정리해 둔다.

 

2D 캐릭터에 Capsule Collider 2D를 사용중인데

점프 후 BoxCollider2D가 있는 벽쪽으로 이동키를 계속 누르고 있으면 캐릭터가 중력에 의해 떨어지지않고 그대로 벽에 붙어있는 문제가 확인됐다.

 

결론적으로 Collider끼리의 마찰력(Friction)에 의한 정상적인 상황으로 보인다.

그래서 마찰력(Friction) 값을 0을 셋팅해서 테스트 해보니 정상적으로 벽에 걸리지 않고 잘 떨어진다.

 

아래는 셋팅 방법이다.

 

----

[Unity Inspector에서 설정]
1. Project 창에서 우클릭 → Create2DPhysics Material 2D
2. 이름: PlayerNoFriction
3. Inspector에서 설정:
     - Friction: 0
     - Bounciness: 0
4. Player2D 오브젝트의 Collider2D 컴포넌트에서 Material 필드에 이 PhysicsMaterial2D 할당

----

반응형
Posted by blueasa
, |

Unity 6000.3.2f1 (URP)

NGUI v2025.07.01

PinePie Simple Joystick v1.0.0

----

 

조이스틱 관련 쓸만한 무료 에셋이 있어서 적용해보려 했더니 UGUI 전용이다.

Claude Code AI를 사용해서 NGUI 버전도 추가 및 정리해서 올려 둠.

 

[파일]

PinePie_SimpleJoystick_v1.0.0_withNGUI.unitypackage
0.39MB

 

 

[참조] https://assetstore.unity.com/packages/tools/gui/pinepie-joystick-325958

 

PinePie Joystick | GUI 도구 | Unity Asset Store

Use the PinePie Joystick from Pine Pie on your next project. Find this GUI tool & more on the Unity Asset Store.

assetstore.unity.com

 

반응형
Posted by blueasa
, |

[개요]

CustomToolbar는 마음에 드는데 추가하고 싶은 부분이 있어서 조금 수정함.

- FPS / Time 슬라이더 크기 줄이기

- FPS / Time 'Reset' 버튼 추가

 

 

[파일]

CustomToolbar_v2.8.1(custom).zip
0.07MB

 

 

[스토어 링크] https://assetstore.unity.com/packages/tools/utilities/customtoolbar-327041

 

CustomToolbar | 유틸리티 도구 | Unity Asset Store

Use the CustomToolbar from Opal on your next project. Find this utility tool & more on the Unity Asset Store.

assetstore.unity.com

 

반응형
Posted by blueasa
, |

[링크] https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.1/manual/upgrading-your-shaders.html#shader-mappings

 

Shader mappings

The following table shows which URP shaders the Built-in Render Pipeline shaders convert to when you use the Render Pipeline Converter.

Unity built-in shaderUniversal Render Pipeline shader
Standard Universal Render Pipeline/Lit
Standard (Specular Setup) Universal Render Pipeline/Lit
Standard Terrain Universal Render Pipeline/Terrain/Lit
Particles/Standard Surface Universal Render Pipeline/Particles/Lit
Particles/Standard Unlit Universal Render Pipeline/Particles/Unlit
Mobile/Diffuse Universal Render Pipeline/Simple Lit
Mobile/Bumped Specular Universal Render Pipeline/Simple Lit
Mobile/Bumped Specular(1 Directional Light) Universal Render Pipeline/Simple Lit
Mobile/Unlit (Supports Lightmap) Universal Render Pipeline/Simple Lit
Mobile/VertexLit Universal Render Pipeline/Simple Lit
Legacy Shaders/Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Bumped Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Bumped Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Self-Illumin/Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Self-Illumin/Bumped Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Self-Illumin/Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Self-Illumin/Bumped Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Bumped Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Bumped Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Cutout/Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Cutout/Specular Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Cutout/Bumped Diffuse Universal Render Pipeline/Simple Lit
Legacy Shaders/Transparent/Cutout/Bumped Specular Universal Render Pipeline/Simple Lit

 

반응형
Posted by blueasa
, |

[링크] https://drehzr.tistory.com/1501

 

Unity) ScriptableObject Sington (instance)

ScriptableObject Sington (instance) ScriptableObject를 Sington 형태로 사용하는 간략한 코드 정리이다. Lazy를 사용해도 되지만 없는 경우에 Load Asset 을 통해서 자동 생성하는 코드이다. private class ScriptableSinglet

drehzr.tistory.com

 

반응형
Posted by blueasa
, |

[링크] https://psych-dobby.tistory.com/entry/Android-Firebase%EC%97%90%EC%84%9C-Google-Play-Games%EB%A1%9C-%EC%9C%A0%EC%A0%80-%EC%8B%9D%EB%B3%84%ED%95%98%EA%B8%B0#:~:text=%EA%B0%81%20%EC%9C%A0%EC%A0%80%EB%B3%84%EB%A1%9C%20%EA%B0%80%EC%A7%80%EA%B3%A0%20%EC%9E%88%EB%8A%94%20%EC%9C%A0%EB%A3%8C%20%EC%9E%AC%ED%99%94%EC%9D%98%20%EB%82%B4%EC%97%AD%EC%9D%84,%EB%A1%9C%EA%B7%B8%EC%9D%B8%20%EC%A0%95%EB%B3%B4%EB%A1%9C%20Firebase%20Authentication%EC%97%90%EC%84%9C%20%EC%9C%A0%EC%A0%80%EB%A5%BC%20%EC%8B%9D%EB%B3%84%ED%95%98%EA%B3%A0%EC%9E%90%20%ED%96%88%EA%B3%A0%2C

 

[Android] Firebase에서 Google Play Games로 유저 식별하기

각 유저별로 가지고 있는 유료 재화의 내역을 보관하기 위해 Firebase Realtime Database를 사용하고 싶었고, 유저를 식별하기 위해 Firebase Authentication을 사용하게 되었다. 나의 경우 Google Play Games로 로

psych-dobby.tistory.com

 

반응형
Posted by blueasa
, |

[링크] https://wincnt-shim.tistory.com/356

 

기존 프로젝트를 URP로 변경하기

서론 이전에 빌트인으로 만들었던 프로젝트를 URP로 변경해보려고 한다 매우 간단한 프로젝트이라서 다른 변수가 영향을 주지 않으리라 생각한다 (참고로 설치하는 URP의 버전은 12.1) 방법은 Unity

wincnt-shim.tistory.com

 

[참고] Converting your shaders | Universal RP | 12.1.11

 

반응형
Posted by blueasa
, |

NiloToon 같이 만들어 보고 싶어서 NiloToon 공개 소스를 참조한 URPSimpleGenshin Shader를 좀 개조해서 기능 추가 해봄.

 

// Based on SimpleGenshinFacial shader
// Simplified NiloToon Shader for Unity URP

/*
CustomURPToon Shader - A simplified toon shader based on SimpleGenshinFacial
Features:
- Basic toon lighting with cel shading
- Rim lighting
- Outline rendering
- Face shadow mapping support
- Mobile optimized
*/

 

 

[파일]

CustomURPToon.zip
0.51MB

 

 

[참조] https://github.com/NoiRC256/URPSimpleGenshinShaders

 

GitHub - NoiRC256/URPSimpleGenshinShaders: A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example

A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example - NoiRC256/URPSimpleGenshinShaders

github.com

 

반응형
Posted by blueasa
, |

[링크] https://github.com/NoiRC256/URPSimpleGenshinShaders

 

GitHub - NoiRC256/URPSimpleGenshinShaders: A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example

A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example - NoiRC256/URPSimpleGenshinShaders

github.com

 

반응형
Posted by blueasa
, |

[링크] https://docs.backnd.com/sdk-docs/backend/base/user/federation/example-using-gpgs2/

 

Google Play Game Service V2(GPGS2) 사용 | 뒤끝 개발자

Google Play Games Service (GPGS)로 간편하게 로그인하는 기능을 넣어서, 사용자 경험을 향상하세요.

docs.backnd.com

 

반응형
Posted by blueasa
, |