Momentum RBD: Create and orientation force
Momentum RBD: Create and orientation force
I tried to blend the current euler, quaternion and rotation values with my goal orientation. None of it really worked. It never reaches the goal orientation and if something changes, than with strange flipping issues.
I just want to create a force which tries to establish the goal orientation as much as possible. I can SET this orientation easily, but I didn't succeed in making it a force like the velocity. GoalPos - currentPos > Normalize > linear interpolate with current velocity. Perfect! But for the orientation it seems to be more difficult. Can anybody shed some light?
Thanks in advance
Thomas
I just want to create a force which tries to establish the goal orientation as much as possible. I can SET this orientation easily, but I didn't succeed in making it a force like the velocity. GoalPos - currentPos > Normalize > linear interpolate with current velocity. Perfect! But for the orientation it seems to be more difficult. Can anybody shed some light?
Thanks in advance
Thomas
Re: Momentum RBD: Create and orientation force
I haven't found a solution yet. If I mess around with the orientation the RB intercollisions gets messed up and objects intersect. Setting the orientation seems to "override" the internal orientation of Momentum, resulting in wrong intercollision.
The angvelocity doesn't seem to be responsible for the orientation since it's axis is independent from the orientation. Although I believe the rotation axis should be aligned with orientation axis in order to have a smooth transition between rotation movement and the correct end position.
Did anybody ever needed to align the RBs with the surface of a collision/goal object? Any help to create this force is highly appreciated!
Still hope that Exocortex will shed some light into this....
The angvelocity doesn't seem to be responsible for the orientation since it's axis is independent from the orientation. Although I believe the rotation axis should be aligned with orientation axis in order to have a smooth transition between rotation movement and the correct end position.
Did anybody ever needed to align the RBs with the surface of a collision/goal object? Any help to create this force is highly appreciated!
Still hope that Exocortex will shed some light into this....
Re: Momentum RBD: Create and orientation force
O.k., to illustrate the problem. Here are the three results.
To me it seems that orientation doesn't get update internaly. The "Set orientation" works, but it doesn't get recognized in the RB calculations. It looks just like an override. As you can see I tried to increment the rotation with my wanted axis. If the Weight is set to 0 then nothing happens, set to .5 it overrides the internal orientation by 50%, set to 1 I finally get my orientation as wanted. But then the RBs just intersect. THey still believe they aren't rotated. It works like a post-simulation operator.
In the next post is my ICE tree. I can't believe that there is no way to align the objects with my surface with a force. Anybody an idea?
To me it seems that orientation doesn't get update internaly. The "Set orientation" works, but it doesn't get recognized in the RB calculations. It looks just like an override. As you can see I tried to increment the rotation with my wanted axis. If the Weight is set to 0 then nothing happens, set to .5 it overrides the internal orientation by 50%, set to 1 I finally get my orientation as wanted. But then the RBs just intersect. THey still believe they aren't rotated. It works like a post-simulation operator.
In the next post is my ICE tree. I can't believe that there is no way to align the objects with my surface with a force. Anybody an idea?
Re: Momentum RBD: Create and orientation force
P.S.: Is there anybody left at Exocortex who still takes care of the SI support? I didn't get a reply from them within one week and the google user group is pretty much abandoned. In the past Ben always came up with great solutions within a few hours.
- wireframex
- Posts: 399
- Joined: 08 Jun 2009, 23:02
- Location: France
Re: Momentum RBD: Create and orientation force
Just try to connect him with skype
"without mastery, power is nothing" - Softimage Addict User
CPU 3990x 128 Threads / 2 x 3090 RTX - 24 Go / 96 Go memory
CPU 3990x 128 Threads / 2 x 3090 RTX - 24 Go / 96 Go memory
Re: Momentum RBD: Create and orientation force
pancho, I did not try to work out current rotation to angular momentum as was unsure of format. it seems its -180 - 180 per axis..? anyway I just set the orientation. seems to work fine. the half submerged thing that you had could be the centres.. did you move them to bottom of instance objects. or the substeps. put that up also if you are getting penetration.
Gossip is what no one claims to like, but everybody enjoys.
Re: Momentum RBD: Create and orientation force
Lol cool =) thanks Tekano!
Re: Momentum RBD: Create and orientation force
aaand here is a cheeky way to orient along the local Y using just angular velocity.! the trick is to give a small Euler vector. because you dont want it to spin right? Anyway there is a very specific formula to do what you are asking and I could not bebothered to do that so here is an 'approx' method later
Gossip is what no one claims to like, but everybody enjoys.
Re: Momentum RBD: Create and orientation force
Thanks so much!!!
Yesterday evening just before supper my head started to work again. I understood angVelocity the whole time as a dynamic force, taking care of the "wild" rotation of the instances. But it is exactly this angVelocity which can be used to change the orientation.
I hope the image sheds some light.
Thanks for the suggestions and help!
Yesterday evening just before supper my head started to work again. I understood angVelocity the whole time as a dynamic force, taking care of the "wild" rotation of the instances. But it is exactly this angVelocity which can be used to change the orientation.
I hope the image sheds some light.
Thanks for the suggestions and help!
Who is online
Users browsing this forum: Yandex [Bot] and 44 guests