Tank not moving

My tank is not moving at all .

And I can’t understand why my sprungwheels’s AddDrivingForce() is being called every frame even though I am not pressing any input buttons.

That’s supposed to happen. It’s called OnHit

I deleted OnHit and its still behaving the same … And my tank is not moving at all when i am pressing input button … please help

Think it might be easier to send your project to me instead of playing 20 questions.

File > Package Project > Zip Up Project

Then upload that somewhere like Google Drive.

https://mega.nz/file/gmxBxJpT#LaVZDajogAuTgc3f6usSWW-YoNyJP9TWxcXc-EG6dRM
Here is the link …

auto ForcePerWheel = Wheels.Num();

That’s just the number of wheels. You need

auto ForcePerWheel = ForceApplied / Wheels.Num();

Thank you so much Dan . You are awesome.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms