userBill Bcancel
branchrust_reboot/main/ParentVelocityInheritcancel

2 Commits over 0 Days - ∞cph!

1 Year Ago
When a rigidbody is parented to another rigidbody, the child rigidbody actually inherits the velocity even while parented. Therefore the forced velocity change in OnParentChanging was actually doubling-up the velocity in those cases. I've set it to NOT adjust the velocity in the case of the parent having its own rigidbody, and that's fixed it, apart from a remaining momentary jitter when entering and leaving the trigger (as seen here when the minicopter transitions across the wagon's trigger: https://files.facepunch.com/BillB/1b2311b1/Unity_qLfRWyks5e.mp4). I wonder if it's now a client interpolation issue.
1 Year Ago
Enabled vehicle parenting for all train car parent triggers