Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Stain Corb on January 25, 2022, 07:34:51 PM

Title: Set Rigidbody constraints Not Working
Post by: Stain Corb on January 25, 2022, 07:34:51 PM
Hello hope every one is doing well, all I am currently working on a project and I am trying to freeze YPosition as well as XRot and ZRot. Using "Set Rigidbody constraints" I found on the Ecosystem.

It works until I hit a collider then it spirals out of control.

1-What is recommended for this?

2-I know I can use raycast detection and freeze what I need at the moment, but with this solution why use a rigid body to begin with.

3-I can also detect the erroneous rotation when it happens by checking every frame the rotation stats and correct it at the spot, but I feel like rotation and movement fliker will start ocurring.

4-It would be nice to be able to have some sort of constant Late update freeze constraint or something.

I appreciate any help on this issue. :)