Hey all,
I'm trying to generate a circle of particles around each of my collision points. This I got to work but what I can't get my head around is how to align these circles to the Hitnormals. I tried several things but my math is not the best and I couldn't find a solution. Can somebody please show me the correct approach?
Cheers
generate circle of particles around hitpoint
3197 8 1- MCGrund
- Member
- 18 posts
- Joined: Aug. 2012
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- MCGrund
- Member
- 18 posts
- Joined: Aug. 2012
- Offline
Hey Rob,
thanks for the reply I'll try out your suggestion. I also found an approach to my problem over at odforce http://forums.odforce.net/topic/18365-normal-to-angle-how-to/ [forums.odforce.net]. I've attached my solution.
Cheers
thanks for the reply I'll try out your suggestion. I also found an approach to my problem over at odforce http://forums.odforce.net/topic/18365-normal-to-angle-how-to/ [forums.odforce.net]. I've attached my solution.
Cheers
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- MCGrund
- Member
- 18 posts
- Joined: Aug. 2012
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- MCGrund
- Member
- 18 posts
- Joined: Aug. 2012
- Offline
Hey, I tried out your suggestion and yes… it seems like a much simpler and therefore better approach to me, too.
One further question though: Is it good practice to take the copied circles and feed them into a second Popnet like I did or would it have been better to feed them back into the original one. Coming from Maya the latter didn't seem like such a good workflow to me.
One further question though: Is it good practice to take the copied circles and feed them into a second Popnet like I did or would it have been better to feed them back into the original one. Coming from Maya the latter didn't seem like such a good workflow to me.
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
Hi,
Several points >
1) Your not writing anything out to disk ? After ever dop sim or pop sim etc. You should be writing the data out to disk.
2) You would take the data from the first dop > write it out , then use it elsewhere.
3) I am not sure why you are doing everything in one geometry node. That is a bad approach remember you can use as many nodes to like to manipulate and alter geometry.
Hope this helps
Rob
Several points >
1) Your not writing anything out to disk ? After ever dop sim or pop sim etc. You should be writing the data out to disk.
2) You would take the data from the first dop > write it out , then use it elsewhere.
3) I am not sure why you are doing everything in one geometry node. That is a bad approach remember you can use as many nodes to like to manipulate and alter geometry.
Hope this helps
Rob
Gone fishing
- MCGrund
- Member
- 18 posts
- Joined: Aug. 2012
- Offline
-
- Quick Links