파티클의 움직임은 이 모듈에서 설정된 힘(예: 바람이나 인력)에 의해 가속화될 수 있습니다.
이 모듈은 Particle System 컴포넌트의 일부입니다.새 파티클 시스템 게임 오브젝트를 생성하거나 Particle System 컴포넌트를 기존 게임 오브젝트에 추가하면, Unity는 Force over Lifetime 모듈을 파티클 시스템에 추가합니다.기본적으로 Unity는 이 모듈을 비활성화합니다.새 파티클 시스템을 생성하려면 다음과 같이 이 모듈을 활성화합니다.
이 모듈이 Particle System 컴포넌트의 일부이므로 ParticleSystem 클래스를 통해 액세스합니다. 이 모듈에 액세스하고 런타임 시 값을 변경하는 방법에 대한 내용은 수명 주기에 따른 힘 모듈 API 문서를 참조하십시오.
이 섹션의 일부 프로퍼티에 대해 다른 모드를 사용하여 해당 값을 설정할 수 있습니다. 사용할 수 있는 모드에 대한 정보는 시간 경과에 따른 프로퍼티 다양화를 참조하십시오.
프로퍼티 | 기능 |
---|---|
X, Y, Z | X, Y, Z축의 각 파티클에 적용되는 힘입니다. |
Space | 힘이 로컬 공간에 적용될지 월드 공간에 적용될지 선택합니다. |
Randomize | 두 개의 상수 또는 두 개의 커브 모드를 사용하면 정의된 범위의 각 프레임에서 새로운 힘의 방향이 선택됩니다. 이를 통해 더 요동을 치고 예상할 수 없는 움직임을 만들어 낼 수 있습니다. |
유체는 움직일 때 힘에 의해 영향을 받는 경우가 종종 있습니다. 예를 들어 연기가 주위의 더운 공기에 의해 위로 올라올 때 연기의 속도가 약간 빨라집니다. 커브를 사용하여 파티클의 수명 주기 동안 가해지는 힘을 제어함으로써 미묘한 효과를 얻을 수 있습니다. 앞의 예를 사용하면, 연기가 처음에는 빠른 속도로 위로 올라가지만 올라갈수록 차가운 공기를 만나면서 점점 힘이 감소합니다. 화재로 인한 자욱한 연기는 처음에는 빠르게 움직이지만 퍼지면서 느려지며, 오랫동안 지속될 경우 다시 땅으로 내려앉기도 합니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.