Last active
July 18, 2021 06:26
-
-
Save TrsNium/4ec166923c043cb5255db8e666760936 to your computer and use it in GitHub Desktop.
[Huoudini]Avoid Intersecting to collider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int prim_num; | |
vector prim_uv; | |
xyzdist(1, @P, prim_num, prim_uv); | |
vector near_p = primuv(1, "P", prim_num, prim_uv); | |
vector N = prim(1, "N", prim_num); | |
@P = near_p + .1*N; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment