I posted in the indie forum but no takers.
To put it simply imagine a field of sunflowers where the stalks are curves and the flower is a rigid object ontop of each curve.
I can create a field of curves and then get that into a wire solver and that all works, including constraining first point to the ground plane.
What i cannot fathom or find is an approach where, within the DOP, i can add the rigid object to the top of each curve so it moves in the wind with the wire.
This is my lack on knowledge but i've googled, searched and not found anything that helps me yet
So can someone point me where i should be looking? Can i create a point constraint on each curve and copy a rigid body to each one?
Any guidance *really* appreciated!
thanks
Paul
Desperately need some guidance with creating a field of dynamics objects and constraints
2101 8 2- paulinventome
- Member
- 14 posts
- Joined: 2月 2017
- Offline
- AndyW
- Member
- 337 posts
- Joined: 12月 2014
- Offline
- mrCatfish
- Member
- 731 posts
- Joined: 12月 2006
- Offline
I agree…. if you have a sim already, just group out the top point of each wire, and copy flowers to those points. Make sure you have normals to get the orientation correct, and ideally an up vector to prevent the flower from spinning.
Edited by mrCatfish - 2019年6月19日 11:54:14
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
- EvanP
- Member
- 17 posts
- Joined: 7月 2015
- Offline
Hi,
You can try to plug the wiresolver for the curves and the rbdsolver for the flower in a multisolver. And also add a cone twist constraint relationship to attach the flower to the last point of the curve.
Otherwise, if your wire sim is fine, you can attach the flower to the top of your curve and make it follow the orientation. This would be fast and does not require a sim.
Indeed, an hip file would be welcome to help you.
You can try to plug the wiresolver for the curves and the rbdsolver for the flower in a multisolver. And also add a cone twist constraint relationship to attach the flower to the last point of the curve.
Otherwise, if your wire sim is fine, you can attach the flower to the top of your curve and make it follow the orientation. This would be fast and does not require a sim.
Indeed, an hip file would be welcome to help you.
- paulinventome
- Member
- 14 posts
- Joined: 2月 2017
- Offline
Thank you everyone for replying.
I've enclosed a file that i've been playing with, just barebones to help me find my way. My ultimate scene isn't sunflowers but i thought that described it in a way we can all imagine.
So grouping out the top point of each wire is great. But not entirely sure the best way to copy and move the heads of the flowers with? I was playing with RBD Instanced Objects and that would take a bunch of objects and instance them on the points - but i don't think it will help me keeping them to the tops of the wires as they move?
The barebones file has a curve copied over a plane into a DOP network where there's some noise, gravity and wire solver to move them around as a test.
So my confusion is just what is the best way to attach the deformed sphere object to the tops of all those curves?
Kindest,
Paul
I've enclosed a file that i've been playing with, just barebones to help me find my way. My ultimate scene isn't sunflowers but i thought that described it in a way we can all imagine.
So grouping out the top point of each wire is great. But not entirely sure the best way to copy and move the heads of the flowers with? I was playing with RBD Instanced Objects and that would take a bunch of objects and instance them on the points - but i don't think it will help me keeping them to the tops of the wires as they move?
The barebones file has a curve copied over a plane into a DOP network where there's some noise, gravity and wire solver to move them around as a test.
So my confusion is just what is the best way to attach the deformed sphere object to the tops of all those curves?
Kindest,
Paul
- AndyW
- Member
- 337 posts
- Joined: 12月 2014
- Offline
- paulinventome
- Member
- 14 posts
- Joined: 2月 2017
- Offline
AndyW
Here's an edited hip with some notes, I hope that's helpful
Andy,
Thanks for taking the time, took a few moments to work out the network.
So there's no simulation going on in this but the movement is being driven by the Attribute VOP node and the vex graph inside?
Ideally growing from the test field i may need to introduce other timed forces and influences to all the stalks (on a larger scale). So i don't know that a VEX approach would be quite as flexible as a full simulation - but it's a really neat approach and i've learnt a bunch from this.
But if i wanted to base the movement on a simulation, using other influences and forces can you suggest an approach?
Kindest,
Paul
- mrCatfish
- Member
- 731 posts
- Joined: 12月 2006
- Offline
- paulinventome
- Member
- 14 posts
- Joined: 2月 2017
- Offline
-
- Quick Links