Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- unreal engine
- redirector crash
- unreal engine redirection crash
- splinemeshcomponent scale
- unreal ai lag
- 리디렉터 크래쉬
- LittleNightMare
- 13iew
- UE4
- 랜덤 맵 생성
- Unreal Engine Error
- UnrealEngine
- register component
- ai 뚝뚝 끊김
- staticmesh mobility
- deltaTime
- 리디렉션 크래쉬
- Ai
- ai 주춤거림
- redirection crash
- UE
- 언리얼
- unity
- UE5
- ue4 Crash
- Unreal Engine 5
- Unreal Engine 4
- ai jitter
- ue4 error
- Random Map Generator
Archives
- Today
- Total
Class GameDev* SheepAdult
[Unreal Engine] Set Scale of SplineMeshComponent 본문
SplineMeshComponent의 크기를 직접적으로 설정하게 되면 StaticMesh가 의도한 위치에 생성되지 않는다. SetStartScale과 SetEndScale을 각각 설정해 줘야 의도한 대로 생성된다.
잘못된 예)
USplineMeshComponent* SplineMeshComp = NewObject<USplineMeshComponent>(OwnerCharacter, USplineMeshComponent::StaticClass());
SplineMeshComp->SetWorldScale3D(FVector(3));
SplineMeshComp->RegisterComponent();
옳은 예)
USplineMeshComponent* SplineMeshComp = NewObject<USplineMeshComponent>(OwnerCharacter, USplineMeshComponent::StaticClass());
SplineMeshComp->SetStartScale(FVector2D(0.2f));
SplineMeshComp->SetEndScale(FVector2D(0.2f));
SplineMeshComp->RegisterComponent();
'Unreal Engine' 카테고리의 다른 글
[Unreal Engine] AI 이동 시 뚝뚝 끊기는 문제 (0) | 2025.03.14 |
---|---|
[Unreal Engine] Redirection 후 BP 열 경우 Crash (0) | 2025.02.21 |
[Unreal Engine] RegisterComponent 주의점 (0) | 2025.01.28 |
[Unreal Engine 5] Runtime에 TextBlock 색상 변경하기 (Changing Widget TextBlock Color at Runtime) (0) | 2024.08.29 |
[Unreal Engine 5] MoveToLocation 반환 값을 통한 상황 판단 (EPathFollowingRequestResult) (0) | 2024.08.20 |