S
Stavrianos
Guest
In all the vehicle QC files I've looked in, animation sequences follow strict naming conventions. Every vehicle's front left wheel spin, for example, is defined by wheel_fl_spin . The same for the other wheel's spins, and the suspension, and the steering.
It would seem, then, that whatever code controls these basic animations is looking for them by name.
And yet, these key phrases don't appear anywhere that I can find in the code.
That's not strictly true. They appear fourwheelvehiclephysics.cpp, but that's no help.
I'm trying to replace the front wheels with horses, so I need to run different sequences for different speeds, and another different deceleration sequence for slowing down.
To do that, I need to find the code that decides whether or not to spin the wheels based on whether or not the vehicle is moving.
Except that the code doesn't seem to exist.
So. . . Does anyone have any idea where to find what I'm looking for? Is there a layer of control below the .cpp's and .h's that I should be searching through? Is it already a well-known fact that my goal is impossible?
Thanks in advance for any remotely relevant pointers.
It would seem, then, that whatever code controls these basic animations is looking for them by name.
And yet, these key phrases don't appear anywhere that I can find in the code.
That's not strictly true. They appear fourwheelvehiclephysics.cpp, but that's no help.
I'm trying to replace the front wheels with horses, so I need to run different sequences for different speeds, and another different deceleration sequence for slowing down.
To do that, I need to find the code that decides whether or not to spin the wheels based on whether or not the vehicle is moving.
Except that the code doesn't seem to exist.
So. . . Does anyone have any idea where to find what I'm looking for? Is there a layer of control below the .cpp's and .h's that I should be searching through? Is it already a well-known fact that my goal is impossible?
Thanks in advance for any remotely relevant pointers.