#I noticed that the author of the
1 messages · Page 1 of 1 (latest)
Yes, my bad. In the original com.unity.physics code readonly was used.
I corrected the example code.
Here are the differences
https://github.com/needle-mirror/com.unity.physics/blob/0.51.0-preview.32/Unity.Physics/Dynamics/Motion/Motion.cs
GitHub
[Mirrored from UPM, not affiliated with Unity Technologies.] 📦 Unitys C# stateless physics library.Built on top of the Unity C# DOTS framework, Unity Physics is network-ready, completely customizab...
i guess the other difference is you get a new instance of the object every time with the arrow