Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert from unity 2021 to 2022
#6
(29-03-2023, 07:12 AM)lacasrac Wrote: ok thanks, any news?

Sorry, I forgot about this. Triste Please accept my apologies!!

You can find the modified scripts attached. Replace the scripts at:

Assets/Obi/Scripts/Common/Collisions/ObiRigidbody.cs

and

Assets/Obi/Scripts/Common/DataStructures/ColliderRigidbody.cs

with the ones attached, that should get rid of the warning. The workaround is basically to store our own linear/angular velocities for kinematic rigidbodies, instead of relying on Unity for this.

Should you encounter any issue with these modified scripts, please let me know.

kind regards,


Attached Files
.cs   ColliderRigidbody.cs (Size: 3.18 KB / Downloads: 1)
.cs   ObiRigidbody.cs (Size: 2.97 KB / Downloads: 1)
Reply


Messages In This Thread
Convert from unity 2021 to 2022 - by lacasrac - 19-03-2023, 05:06 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 21-03-2023, 09:03 AM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 07:12 AM
RE: Convert from unity 2021 to 2022 - by josemendez - 29-03-2023, 09:59 AM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 12:49 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 01:38 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 04-04-2023, 09:53 AM