Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotating steering wheel
03-24-2011, 02:47 PM
Post: #1
Rotating steering wheel
I added this code
Quote:[steering]
texture = volan.png
mesh = volan.joe
position = -0.38, 0.64, 0.1
rotation = 20, 0, 180 #in degrees
max-angle = 20

in the .car file,but I cannot make steering wheel to rotate.
And maybe someone can make the board needles.
Find all posts by this user
Quote this message in a reply
03-24-2011, 04:17 PM
Post: #2
 
What vdrift version? I've tested your settings with vdrift trunk and XS.car. It works without any issues.
Find all posts by this user
Quote this message in a reply
03-24-2011, 05:06 PM
Post: #3
 
Version 3030,I've compiled the last version from trunk and doesn't want to load any car,with this error: ERROR: Couldn't get section "0.71, 0.55, 0.0" from "data/cars/DSN/DSN.car"
This is a screen from 3030,it turns wrong: [Image: K8KwD.png]
Find all posts by this user
Quote this message in a reply
03-24-2011, 05:11 PM
Post: #4
 
Make sure I've got the latest vdrift-data, update/fix your local configs.
Find all posts by this user
Quote this message in a reply
03-24-2011, 05:54 PM
Post: #5
 
This is the car: In order to view links, you must have to reply to this thread.
Find all posts by this user
Quote this message in a reply
03-24-2011, 06:44 PM
Post: #6
 
Steering wheel rotation axis is z-axis. Means you need to adjust the mesh accordingly.

[wheel.fl.hinge]
wheel = -0.80, 1.55, -0.70
chassis = 0.71, 0.55, 0.0
...

particle-00 -> particle.00

Fixed DSN: In order to view links, you must have to reply to this thread.
Find all posts by this user
Quote this message in a reply
06-17-2011, 05:47 AM
Post: #7
 
Great idea! I wanted to post exactly the same question!

But in general: Does the steering wheel move in every car or does it need a special car? Where to enter the code you've posted? Can you please explain?
Will this feature come into vdrift officially?

THX alot!
Find all posts by this user
Quote this message in a reply
06-17-2011, 11:31 AM
Post: #8
 
You need the latest vdrift/vdrift-data. All cars in trunk have the same default steering wheel atm.

The code goes into the car config file: "*.car":
In order to view links, you must have to reply to this thread.

Default steering wheel mesh orientation:
[Image: steer.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)