September 18, 2020, 02:33:47 PM

## News:

GP Bikes beta18c available!

## Animation of car geometry

Started by Phathry25, December 09, 2016, 05:09:45 AM

#### AUSSIEDIRT

##### January 02, 2017, 08:42:38 PM #15
So just a thought here, are you looking at replicating a certain indoor venue or require it to be done , imagin the numbers possible esp if you look at the virtual event the features would get alot of people interested. If in the future enough modding group's were to join wrs could make it really true to life and everyone could build their own cars then use some generic files to make the cars even and have a true chilli bowl

#### Phathry25

##### November 12, 2017, 06:23:41 AM #16
Quote from: Kevo on December 14, 2016, 11:31:39 AM
I havent had much experience with the gfx.cfg files yet, but I may be able to help you.

{
pos
{
x = 0.0
y = 0.0
z = -1.5
}
axle
{
x = -0.065
y = 0.267
z = 0.0
}
}

From what I understand from animating the monster truck suspension, "pos" is the length of the suspension linkage, along the axis that it shows as in 3DS Max. "axle" is the location of the pivot on the axle side, relative to the centre of the axle.

shock
{
name = SUSP_SHOCK_BODY_LF
refobj = SUSP_SHOCK_SHAFT_LF
pos
{
x = 0
y = 0
z = 0
}
{
x = -0.58
y = 0.166
z = -0.004
}

slideaxis = y-
slidescale = 1
reflength = 0.30
}

"link" is the location of the bottom end of the shock along the x,y and z axes, relative to the centre of the axle. "reflength" I dont know the exact definition, but increase or decrease this value to get the bottom of the shock model to sit in its proper location. Perhaps it is the length of the shock model in 3DS Max, minus the minimum shock length found in the .geom file.

Hopefully this helps.

Has this changed since this was posted?  I had everything working(b9), and now it doesn't. (b11b) Tried editing some of the values and can't see to make any of the points in the IK links debug mode move.  Totally lost.

#### Phathry25

##### November 12, 2017, 06:34:35 AM #17
Answered my own question, see my post in IK links debug mode post.

#### Phathry25

##### November 18, 2017, 08:31:43 AM #18
Quote from: Kevo on December 14, 2016, 11:31:39 AM
shock
{
name = SUSP_SHOCK_BODY_LF
refobj = SUSP_SHOCK_SHAFT_LF
pos
{
x = 0
y = 0
z = 0
}
{
x = -0.58
y = 0.166
z = -0.004
}

slideaxis = y-
slidescale = 1
reflength = 0.30
}

"link" is the location of the bottom end of the shock along the x,y and z axes, relative to the centre of the axle. "reflength" I dont know the exact definition, but increase or decrease this value to get the bottom of the shock model to sit in its proper location. Perhaps it is the length of the shock model in 3DS Max, minus the minimum shock length found in the .geom file.

Hopefully this helps.

How do I align my axis' on the model?  I can't get the bottoms and tops to meet up correctly?

Bump.

Bump

#### PiBoSo

##### November 25, 2017, 10:05:01 AM #21
Quote from: Phathry25 on November 18, 2017, 08:31:43 AM
Quote from: Kevo on December 14, 2016, 11:31:39 AM
shock
{
name = SUSP_SHOCK_BODY_LF
refobj = SUSP_SHOCK_SHAFT_LF
pos
{
x = 0
y = 0
z = 0
}
{
x = -0.58
y = 0.166
z = -0.004
}

slideaxis = y-
slidescale = 1
reflength = 0.30
}

"link" is the location of the bottom end of the shock along the x,y and z axes, relative to the centre of the axle. "reflength" I dont know the exact definition, but increase or decrease this value to get the bottom of the shock model to sit in its proper location. Perhaps it is the length of the shock model in 3DS Max, minus the minimum shock length found in the .geom file.

Hopefully this helps.

How do I align my axis' on the model?  I can't get the bottoms and tops to meet up correctly?

The IK links debug mode should help tuning the suspension geometry:
http://forum.piboso.com/index.php?topic=4639.0