branchrust_reboot/main/MagnetCraneUpdatescancel

61 Commits over 59 Days - 0.04cph!

2 Years Ago
Made the snapshot prototypes static
2 Years Ago
Interpolator cleanup
2 Years Ago
A less confusing way to define ISnapshot<T>
2 Years Ago
Change PositionLerp back to using my generic interpolator, performance seems to be the same as before (and the garbage gen is now fixed)
2 Years Ago
Comment only
2 Years Ago
Reduced garbage gen in my generic interpolator to zero but now it's even more complicated. Next step is simplifying if possible (and performance testing).
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Increased magnet crane yaw speed by 20%
2 Years Ago
Switched magnet crane back to "Normal" animator mode instead of "Animate Physics" on the client. This fixes the slightly jittery yaw movement and makes it absolutely smooth (assuming high framerate). The tradeoff is that it brings back the imperfect sync between the seated driver and the crane. However, with the updated interpolator this seems to be much less of an issue than before.
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Fixed magnet crane oneshot audio playing too often
2 Years Ago
Removed the input blocking after the magnet crane collides with something, leaving it to just prevent the movement instead. Fixes the case where the magnet could kind of 'dig in' its collision and end up not being able to move back out.
2 Years Ago
Removed the the map snowmobile
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Added debug method for magnet crane interpolation
2 Years Ago
Fix yaw snap trouble
2 Years Ago
Fixed some glitches with the interpolator when magnet crane yaw passed through zero. Still hitches at zero - TODO.
2 Years Ago
Removed debug print
2 Years Ago
Created GenericLerp mostly based on the existing PositionLerp. Simpler than PositionLerp overall, but can interpolate anything. Implemented it for magnet crane animation - cabin yaw + the two arm movements. This makes the magnet crane visual movement smooth instead of jittery (the existing code did a simple Lerp, but couldn't really be timed right on its own). GenericLerp may be useful any time the server sends regular data which needs to appear smooth on the client despite only coming 10 or 16 times a second. For instance I plan to use it for the train bogie rotation as well.
2 Years Ago
Cherry-pick my new interpolator -> MagnetCraneUpdates
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Minor fix
2 Years Ago
Fixed magnet crane steering the wrong way when reversing
2 Years Ago
Adjusted driving feel, trying to mostly match old behaviour
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Fixed client compile
2 Years Ago
Magnet crane audio now stops running when the crane is inactive
2 Years Ago
Magnet crane exhaust goes more when the player is using movement controls
2 Years Ago
Magnet crane stability work. Less wobbly/floaty feeling.
2 Years Ago
Prevent magnet crane magnet from getting close enough to the driver to hurt them (modified the animator to only let it move 90% of the way to minimum)
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Tidied up flags, removed unused methods. Steering edit.
2 Years Ago
Merge MCUpdatePhysics2-> MagnetCraneUpdates
2 Years Ago
Return to old wheelcollider settings for now
2 Years Ago
Wheel friction
2 Years Ago
Wheel collider work
2 Years Ago
Fixed magnet crane not turning off when driver exits (another regression)
2 Years Ago
Fixed magnet crane audio (was broken in this branch)
2 Years Ago
Merge Main -> MagnetCraneUpdates
2 Years Ago
Calculate a separate rotation speed per tread. Fixes magnet crane treads sometimes animating in the wrong direction when turning.
2 Years Ago
Renamed magnet crane treads (were "threads") and some collider gameobjects.
2 Years Ago
Added ability for magnet crane to both turn and drive forward/back at the same time (can still spin on the spot if turning without any throttle input)
2 Years Ago
Initial work on magnet crane wheel colliders and driving physics
2 Years Ago
Adjusted magnet crane colliders. Removing all VehicleWorld colliders on the client.
2 Years Ago
Pt2
2 Years Ago
Fixed magnet crane mounted driver not syncing up visually with the crane itself when rotating the cabin (yaw controls)
2 Years Ago
- Fixed magnet crane arm movement speed being affected by physics delta. - Fixed magnet crane arm movement speed also being affected by dropped physics frames when exceeding maximumDeltaTime (capped to avoid massive moves if the server stalls).
2 Years Ago
Minor edits
2 Years Ago
Subtract 68861, flag is needed
2 Years Ago
Only do Update ticks when the magnet crane is in use or moving