branchwiseguys/main/CharacterStatePoolingcancel
10 Commits over 0 Days - ∞cph!
Moved CharacterClientProxySub
CharacterState pooling work. NPC movement currently broken
Also added CopyToDirect, which copies a CharacterState without creating a new CharacterMotorState object like the generated CopyTo does
Added CopyToWithRepool for Character state. The generated CopyTo doesn't handle poolable types within poolable types very well. Copying to a new instance makes a copy of the original class' MotorState (if it has one), and assigns it to the new instance's MotorState. If the new instance already had a MotorState assigned, it'll now no longer have a reference and never get re-pooled. CopyToWithRepool safely disposes and re-pools the old MotorState if it has one.
CharacterState pooling work
Working on issues with CharacterState pooling