Question about: RBD Constraint(need some help here)

   3015   4   0
User Avatar
Member
3 posts
Joined: May 2020
Offline
What is up everyone, I've been working on rbd, and I have a question about constraint type working with condir and condof.

I've set the
constraint type to "position"(means i want to constrain the position of the object)
condof to "1"(means free to move on a plane)
condir to (0, 1, 0)(means the normal of the plane)

so theoretically the object shouldn't move up and down since i've constrained the movement of position of the object on "X-Z plane", but why does the object still move up and down after i set the initial velocity to (0, 1, 0)(also there is a gravity node)

It confused me a lot, please help me with this problem, if i misinterpret anything(concepts) or did something wrong, please let me know.

Thank you, really appreciate your help.

Attachments:
constraint.hipnc (271.8 KB)

User Avatar
Member
104 posts
Joined: Sept. 2014
Offline
- look at the
"Constraint type position vs all"

https://www.tokeru.com/cgwiki/index.php?title=ConstraintNetworks [www.tokeru.com]

- and an Example with condir and condof

https://forums.odforce.net/topic/30476-constraint-network-constraint_type-rotation/ [forums.odforce.net]
Edited by w_maro - July 12, 2022 08:30:43
User Avatar
Member
3 posts
Joined: May 2020
Offline
w_maro
- look at the
"Constraint type position vs all"

https://www.tokeru.com/cgwiki/index.php?title=ConstraintNetworks [www.tokeru.com]

- and an Example with condir and condof

https://forums.odforce.net/topic/30476-constraint-network-constraint_type-rotation/ [forums.odforce.net]

Thanks man, i've already checked out both articles, but still don't get it.
But thank you for your reply, really appreciate that, Cheers.
User Avatar
Member
1853 posts
Joined: May 2006
Offline
Every time I look into this stuff, I get confused.

What (sort of) helps is to view the network pinned in dops, while changing condir/condof values in sops. You'll see the constraint widgets update and give clues as to how they'll behave.

I'm sorry to say my usual technique is to shout at the setups, stabbing random values in until it suddenly works, then post-rationalise why its working.

Had a play with your setup for a while but had to give up, its too late here and its been too long since doing RBD in anger.

The only consolation I can provide is a link to this googly eye setup. It involves forcing parts of the setup to rotate around a given plane, while having their positions fixed, it might give you some clues. I also vaguely recalled that you have to keep in mind whats happening at both ends of the constraints; should one be totally fixed, the other free? Or should they be orthagonal to each other? Should one end be position constrained, the other rotate constrained? Thinking about all the combinations gets tricky.

Anyway, here's that link: https://www.tokeru.com/cgwiki/index.php?title=ConstraintNetworks3#Googly_eyes_with_animated_pin_constraints [www.tokeru.com]
Edited by mestela - July 13, 2022 09:35:29
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
3 posts
Joined: May 2020
Offline
mestela
Every time I look into this stuff, I get confused.

What (sort of) helps is to view the network pinned in dops, while changing condir/condof values in sops. You'll see the constraint widgets update and give clues as to how they'll behave.

I'm sorry to say my usual technique is to shout at the setups, stabbing random values in until it suddenly works, then post-rationalise why its working.

Had a play with your setup for a while but had to give up, its too late here and its been too long since doing RBD in anger.

The only consolation I can provide is a link to this googly eye setup. It involves forcing parts of the setup to rotate around a given plane, while having their positions fixed, it might give you some clues. I also vaguely recalled that you have to keep in mind whats happening at both ends of the constraints; should one be totally fixed, the other free? Or should they be orthagonal to each other? Should one end be position constrained, the other rotate constrained? Thinking about all the combinations gets tricky.

Anyway, here's that link: https://www.tokeru.com/cgwiki/index.php?title=ConstraintNetworks3#Googly_eyes_with_animated_pin_constraints [www.tokeru.com]

Oh man, really appreciate your advice, totally didn't expect your reply, i'll definitely go check the googly eye setup.

I noticed your reply in the morning from where i live, it really made my day, not only did i truly get some advice, but also make me feel like i am in this industry discussing with people.

Just want to say i'm so grateful for your contribution to this community, although from the very first time i saw your website, i can barely know a thing. And also i'm so grateful for how humble you are! It's precious
  • Quick Links