modding details

R

rlativo

  • rlativo

I am currently preparing a mod for my GP2 team in order to explore Rfactor posibilities for driver´s training.

When building the .pm file I have realised that the origin for the coordinates in this file are not very well explained.. I mean that the official ISI modding guide tells that the (0,0,0) point is located on ½ of the wheelbase at chassis bottom tub height. However, after analysis of several mods previously done for GP2 I have seen that in those cases, the (0,0,0) point is not located at ½ wheelbase. In fact an example of Z coordinate (in Rfactor axis system, not in a SAE-type one) for the front spindles is -1,65m and 1,35m for the rear ones. So the (0,0,0) point clearly is not placed at mid wheelbase!

Where should I place the origin (0,0,0) for coordinates in the .pm file in order to build a good car model? Or does this have no influence at all?
On the other hand I would like to know also what is the meaning for the values in brakets in the following mod´s .pm file:
[JOINT&HINGE]
posbody=rl_wheel negbody=rl_spindle pos=rl_wheel axis=(-1.0,0.0,0.0)
Are they the (X,Y,Z) coordinates of this corner joint?
 
The 3D model of the car has a coordinate system that defines (0,0,0)

Additionally each 3d model of the wheels has a coordinate relative to this coordinate.

Lets say that the .pm file gives a rear wheel position like this:
// Rear wheels (includes half of rear-axle)
[BODY]
name=rl_wheel mass=(20.139) inertia=(0.927,0.659,0.659)
pos=(0.7,0.0,0.924) ori=(0.0,0.0,0.0)

If this position (0.7,0.0,0.924) does not coincide with the coordinate given in the 3d model of the wheel, then rfactor will shift the coordinates of wheel/upright/wishbones in the .pm file to coincide with the 3d model.

This means that the absolute coordinate of the .pm file does not have to be accurate, but the relative position of wheel/upright/wishbones for each corner is very important!!

A little tricky to get used to:D But once you got the .pm file done, you can move it around simply by moving the 3D model:)
 
You should try out Suspension Editor

This is actually not an editor, but more a viewer. Nice tool to check that the input is right.

03-Feb-10-rFactorCentral-3631_suspeditor2.jpg
 

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 72 7.4%
  • 75% online 25% offline

    Votes: 101 10.3%
  • 50% online 50% offline

    Votes: 142 14.5%
  • 25% online 75% offline

    Votes: 267 27.4%
  • 100% offline racing

    Votes: 390 40.0%
  • Something else, explain in comment

    Votes: 4 0.4%
Back
Top