Enable VR expansion plugins
Import a car mesh that has 4 wheels skeleton, connect to a centre base
Check in static mesh if physics asset is there.
if no, create one:
Adjust the size of physics that fit the wheels
Create a VR character BP, and VRWheeledVehicle BP (or use VR pawn, if no VR expansion plugin)
Open the Vehicle BP
Replace the mesh
In Vehicle movement component, open Wheel Setups, add 4 elements
In car skeletal mesh, copy the bone name of the wheel
Paste in the wheel setup in Vehicle BP
Repeat on all 4 wheels
Change Wheel class for front wheels and back wheels respectively
If no front/rear wheels from the import model, create one and roughly set the parameter as below:
Front wheel steer angle 70, rear wheel steer angle 0
Open VR Player BP:
(set up player automatically place in vehicle and control it, not by triggering to get in the vehicle, etc)
Add variables. make it visble:
Steer can connect to either input action node, or just Get input node
OR if using enhanced input?
Drag the Vehicle and VR player in the scene,
Let Vehicle over the Player, set as steeringwheel (test later if the player position in car correct)
Choose the vehicle in default in VR player details
Set no collision to all Collision options in the VR player
Recheck no simulate physics and gravity set as below:
Set auto posses as player 0
gravity scale 0
Set the player inside the car