Help OBI ROPE SHAKING POINT - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help OBI ROPE SHAKING POINT (/thread-2795.html) |
OBI ROPE SHAKING POINT - Furyz - 07-03-2021 Hi guys, I am having a shaking problem at the attachment point of the rope (obi grappling hook script) can you help me? Please see gif RE: OBI ROPE SHAKING POINT - josemendez - 08-03-2021 (07-03-2021, 11:33 AM)Furyz Wrote: Hi guys, I am having a shaking problem at the attachment point of the rope (obi grappling hook script) can you help me? Please see gif Hi there! Looks like the situation described in the manual: http://obi.virtualmethodstudio.com/tutorials/pinconstraints.html If you attach a rope overlapping a collider, collision and attachment will fight each other resulting in jittering. You can use phases to disable collisions between the attachment and the last part of the rope. cheers, RE: OBI ROPE SHAKING POINT - Furyz - 08-03-2021 (08-03-2021, 08:17 AM)josemendez Wrote: Hi there! Firstly thanks josemendez. I looked at the link you sent. I phase value of the particles is 0, the phase value in the collider is 0. however the hook point changes in this way. I guess I don't fully understand what I have to do. RE: OBI ROPE SHAKING POINT - josemendez - 08-03-2021 (08-03-2021, 11:52 AM)Furyz Wrote: Firstly thanks josemendez. I looked at the link you sent. I phase value of the particles is 0, the phase value in the collider is 0. however the hook point changes in this way. I guess I don't fully understand what I have to do. Is your character being explicitly moved by a script? (instead of being a rigidbody?) If so, remember that physics in Unity take place in FixedUpdate() and that it is called at a different rate than Update(). If you update your character in Update() this can lead to the rope and the character getting out of sync. RE: OBI ROPE SHAKING POINT - Furyz - 08-03-2021 (08-03-2021, 12:03 PM)josemendez Wrote: Is your character being explicitly moved by a script? (instead of being a rigidbody?) If so, remember that physics in Unity take place in FixedUpdate() and that it is called at a different rate than Update(). If you update your character in Update() this can lead to the rope and the character getting out of sync.all the action is happening within fixedupdate. I noticed that the side of the rope that touches the collider is shaking. The flickering stops when selecting the kinematic option. but that's not what I want. did not improve with phase. this is really annoying. RE: OBI ROPE SHAKING POINT - josemendez - 09-03-2021 (08-03-2021, 09:58 PM)Furyz Wrote: all the action is happening within fixedupdate. I noticed that the side of the rope that touches the collider is shaking. The flickering stops when selecting the kinematic option. but that's not what I want. did not improve with phase. this is really annoying. Hi, I believe we're also talking about the same subject via email (Furkan, right?), please use one of the two methods (email or forum) so that things won't get confusing . thanks! RE: OBI ROPE SHAKING POINT - Furyz - 09-03-2021 (09-03-2021, 11:29 AM)josemendez Wrote: Hi,Yes He is me Then Lets mail (09-03-2021, 11:44 AM)Furyz Wrote: Yes He is me Then Lets mail Hi guys, solved the problem. The problem was caused by a local position code trying to keep rigidbody and character constant. Pay attention to this if you are moving with the rigidbody. Thanks. |