08-30-2013, 08:11 PM
First of all, make sure your cMinecart::HandlePhysics() is called - put a breakpoint in it and place a minecart. If the breakpoint isn't hit, then there's something wrong. Also, make sure you remove the cMinecart::Tick() completely, both from the header and the cpp file (comment it out, so that you can keep your code for later)
If it is called, then paste all the physics handling code into it. Note that the code should not call super::Tick(); it might call super::HandlePhysics() if you want it to, but it's not required.
When in doubt, put LOGD() in key places to verify that things are what you expect them to be.
If it is called, then paste all the physics handling code into it. Note that the code should not call super::Tick(); it might call super::HandlePhysics() if you want it to, but it's not required.
When in doubt, put LOGD() in key places to verify that things are what you expect them to be.