JackyHu Posted October 16, 2018 Share Posted October 16, 2018 Hi, This is giving me headaches for two hours now.I know it would be much easier in vex,however I dont know how to achieve this effect. If anyone can please point me in the right direction that would be greatly appreciated! There are some arrows shoot into ground in this scene,I want to make some small crushed stones in the first catch point. But the question is how i can get the one primitive source in just one frame? Transfer color is the best way i can think whitin my all power. Let me show you some GIF shot204.hip Quote Link to comment Share on other sites More sharing options...
kfu Posted October 16, 2018 Share Posted October 16, 2018 your file seems not working? My thought on this would be using either points cloud or nearpoint function try to find the closest point on the ground each frame. Quote Link to comment Share on other sites More sharing options...
JackyHu Posted October 17, 2018 Author Share Posted October 17, 2018 15 hours ago, kfu said: your file seems not working? My thought on this would be using either points cloud or nearpoint function try to find the closest point on the ground each frame. I just want to get one hit source in one frame, i dont need the arrow which already rest on ground. Quote Link to comment Share on other sites More sharing options...
char Posted October 17, 2018 Share Posted October 17, 2018 Just like kfu already mentioned, find a nearpoint with VEX (literally 3 lines of code and the documentation is quite helpful with this) and use that to manipulate your geo further on. The hit source like you said will stay the same so I'm not really sure why you need one frame only. With crushed stones, do you mean a crack in the ground or a particle sim kicking a few stones up when the arrow hits the ground? Quote Link to comment Share on other sites More sharing options...
JackyHu Posted October 18, 2018 Author Share Posted October 18, 2018 17 hours ago, char said: Just like kfu already mentioned, find a nearpoint with VEX (literally 3 lines of code and the documentation is quite helpful with this) and use that to manipulate your geo further on. The hit source like you said will stay the same so I'm not really sure why you need one frame only. With crushed stones, do you mean a crack in the ground or a particle sim kicking a few stones up when the arrow hits the ground? I am sorry for my broken english.I mean the hit place should not emit all the time after the arrow shot into the ground,otherwise it would lead to emit infinitely crushed stones. And i'll show u a picture to explain clearly.I dont need the red area,i just need the source place where the arrow touch the ground in that moment. Quote Link to comment Share on other sites More sharing options...
kfu Posted October 18, 2018 Share Posted October 18, 2018 What you can do is recording the trigger frame(when the collision happens) I did a simple version of what you are trying to do, found near point and record the found frame, delete the prim after one frame of the found frame. Hope the file can be helpful. arrow_example.hipnc Quote Link to comment Share on other sites More sharing options...
JackyHu Posted October 18, 2018 Author Share Posted October 18, 2018 36 minutes ago, kfu said: What you can do is recording the trigger frame(when the collision happens) I did a simple version of what you are trying to do, found near point and record the found frame, delete the prim after one frame of the found frame. Hope the file can be helpful. arrow_example.hipnc Thank u so much man, its very helpful for me! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.