Can`t extend VehicleAnimInstance Class

Hi,

The explanation:
I`m trying to extend VehicleAnimInstance class which uses a proxy to deal with wheel animations and updates. My goal is to override the PreUpdate method that is inside the VehicleAnimInstanceProxy to call my custom function on a extended class of the VehicleWheel, called AdvancedVehicleWheel.

The problem:
The proxy is private inside the VehicleAnimInstance, so I can’t access it from my derived class. The function SetWheeledVehicleMovementComponent is local, and I can’t override it to create a new function on my own proxy.
The WheelData var, which is public, is unnused, so useless.

My try:
I created a derived class from VehicleAnimInstance and a new proxy, tried to call GetWheelAnimData, but it returns NULL.
I tried to put the SetWheeledVehicleMovementComponent method body inside PreUpdate, and it compiles withoud errors, but, on Engine logical side, the [WheeledVehicleMovementComponent.cpp682 calls it FIRST, to set the MovementComponent and WheelInstances, which is NECESSARY for AnimNode_WheelHandler, and AFTER that, is called PreUpdate. So, still no solution for this.

Any idea on how can I access the WheelInstances from a derived class? Or how can I set it on my own?

It can be a problem on how I’m initializing the proxy, so here is the code attached.link text

Nevermind, found a workaround. If someone need help with this call me and I can share what I did, it’s too complicated to explain everything in here.