Car VectorForces & Steering

So I’m working on a car using the new body movers, specifically VectorForce.

I’m trying to make this car somewhat realistic, so I have a VectorForce in the wheel of each car. My car is only 2 wheel drive, so I only apply force on the two back wheels when driving. My car has a max force of 5000 Newtons, so 2500 Newtons is applied on each wheel when driving.

image

I need help with making the car steer. Keep in mind that I want to use the two VectorForces in the front wheel when steering (don’t know if this is the right way to go about it). How would I go about that? Do I need to do something with centripetal force?

Anyone with a little more proficiency with kinematics, please help it would be greatly appreciated!

5 Likes

Do you have any particular reason for using the body movers rather than a physics-based system? Just wondering. I don’t have much (any, to be honest) experience with body mover chassis systems, but I could certainly try to help.

3 Likes

I think i figured it out.

I calculate the distance to the center of the circle (radius) given by the front wheel’s angles.

image

Then I calculate the centripetal force using this radius.

Then I apply it to the car, with a VectorForce. I should use one vectorforce in the center of the vehicle rather than 1 in each wheel. Don’t know if it will work though.

3 Likes

Personally I made a car by actually turning the wheels, but I would assume using Forces in the same direction could work just as well.
The most important thing you’d have to understand is the concept of the turning circle:

Turning circle

image

Then I decided to calculate the angle from the other wheel if the angle for the first wheel is giving:

Calculations

You can probably use these angles for the Forces, with some adjustment. (You’d have to calculate the radius of the turning circles and then use the difference between small and big turning circle to get the ratio (in combination with the throttle) you can use for the force in both wheels.)

In any case, if it fails, you can try constraints.

(I’m done writing this right after you finished your post with some similar information, but I’ll post it regardless.)

4 Likes

Okay I need to implement that into my steering system. That’s brilliant.

Edit:

3 Likes

Lmao you literally have the exact same idea as me.

3 Likes

I’m using a vector force rn and I managed to calculate the center of rotation. I’m struggling on what position to apply it though.

EDIT:

1 Like

Try applying it between the front wheels?

so a point in the between the 2 front wheels and apply it there?

2 Likes

Can you draw on this diagram with the necessary labels so I can get a better understanding of what you mean?

how did this work out? i’m also trying to solve drifting at high speeds

1 Like