Hi, this is Eta, I am making a vehicle using wheelvehicles blueprint by following the documents How to Set up Vehicles in Unreal Engine | Unreal Engine 5.0 Documentation However, my wheels do not collide with the floor but fall in, and my car cannot move or rotate
I have rotate the vehicle direction to right to match the ones in the official examples, and the animBP is working with wheels handler that made wheels fall down from their original position, but the wheels are just not colliding with the floor, and I checked the collision was smaller than the physic asset while simulating, though how editing it just cannot work.
Could someone help me out with this?
The last time I checked, the UE4 wheeled vehicle class does NOT use the collision object of the wheel for vehicle movement. Instead it uses ray casting and the wheel radius you specify in the wheel class.
Vehicle BP > VehicleMovement Component > Vehicle setup > Wheel Class
Hi, thanks for the reply , actually I tried this before but it doesnot work, no matter what size it was and how big the offset is, I even changed it to 5000 but it still not working, I think it might be the problem that the car wheels cannot be found. However, the wheels collision cannot be shown though collision display was on.
Hi, , thanks for the reply, Actually, our car was rigged similarly to the official sedan vehicle, the root bone was at the lowest central point, and the pivot is at (0,0,0)
&d=1482790968 the red arrows on the wheel bones are pointing down and the blue seems to be pointing towards me. It tells me your wheel bones are wrongly rotated (X up and Z forwards). You need to fix the wheel bones so that Z is up and X is forwards.
Hi , we rerigged the vehicle and the wheels do have the collision right now, however, when it was moving, the car will move to left side not forward, each one of the front wheel and back wheel on the right side will move instead of the two front wheels:
In 3dsmax you can attach one object (mesh) to another in hierarchies - no bones needed. This seems to work well for me when I use the Wheeled Vehicle Class. This is my hierarchy for the meshes in 3dsmax:
@ @ @ .Thank you guys I did it! Thank you for all your help! By the way, do you know how can I rotate the AI vehicle towards the target point? In blueprint way
Hi, I just saw the link but it doesn’t have anything about rotating the car, it is just a simple preview without specific demonstration on the rotation. Do you know the specific node in blueprint I can use?