Unreal

언리얼 이동 시 밀림 현상 해결 (sphere trace for objects)

study_memo 2024. 2. 19. 23:25

https://www.reddit.com/r/unrealengine/comments/y48od4/help_with_sphere_trace_location/

 

From the unrealengine community on Reddit

Explore this post and more from the unrealengine community

www.reddit.com

여기 글을 참고해서 오류 해결했다. get actor forward vector를 이용해서 스페어 트레이스가 내가 원하는 위치로 가게 해주었고. 

플레이어와 물체 간의 거리가 너무 가까운 상태에서 스페어 트레이스가 적용되면 항상 튕기거나 밀리는 현상이 생겨서 

거리가 가깝지 않도록 해주어야 겠다고 생각했다.