Hello there,
i want to build a vehicle which is only rolling and has no inputs ether left, right and brake.
I tried different things like two Static Meshes, a Skeletal Mesh, Two Actors but can´t get it to work.
Important is that the Tires should be attached to the body.
Whatever i tr, the tires don´t roll.
Have you some tipps for that?
You can use a skeletal mesh with a physics body for the vehicle’s body and 4 physics bodies (spheres) for the wheels, connected to the main body with 4 constraints. This is probably the simplest solution. You will need to assign a physics material to the wheel spheres so they roll instead of sliding. You will also need to animated the visual wheels according to the speed of the vehicle so they roll as the vehicle drives down the slope.
I just did a quick test using a ‘ChaosVehicle’ , I spawned it on a hill and it immediately started rolling. It may be overkill to use such a complex system for this, but you’ll get a lot of built in features. (Tires turning, suspension, mass/gravity tuning)
I don’t follow you when you say ‘no inputs either left right and brake’ - I think you mean just no throttle input? (Which can be accomplished by snipping the wires to ‘SetThrottleInput’)
@vr_marco Thanks for your answer. I tried it, but i think i´m lost. Do you have a tutorial for that case?
Is in your case the body and the wheels one mesh or are wheels attaches via blueprint or in editor?
And @Astrotronic : Yeah this is much more i needed and there are many things i have to change. I´ll hope for a simple solution but if there is nothing possible i try to simplify theChaos vehicle