-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Velocity function #3
Comments
Unreal does not calculate the velocity of static objects, so you need to interpolate using camera transform :) |
Should you be testing PrevClip.w to ensure it is positive? |
Why? |
Hello, Which file includes the above mentioned velocity code? I searched in all source code files and project, I did not find the code Thanks |
@ywu40 It is in a UE4 material shader, you need to open it in UE4's Blueprint view. |
@ProfFan Thanks. I found it now. |
@ProfFan One more question, I saw the return value code "return Velocity * 100;". May I know why do you multiply 100? What is the meaning of 100 here? How/where do you get the value 100? Is it the value of Field of View? Thanks for your help. |
@ywu40 From what I remember it is arbitrary (as the original value is too small). You can also do a |
@ProfFan Thanks very much for the quick response. So multiply 100 is just for better visualization, the actual value should be just "Velocity" itself, right? |
Yes |
I am not sure to understand the content of this custom function.
Would you mind giving an explanation ?
Thanks.
The text was updated successfully, but these errors were encountered: