Cars WIP - Drift tube car suspensions test

MohdTN

25RPM
Original poster
Dec 8, 2017
44
108
24
Hey guys

I'm working on drift tube car, trying to make every thing work correctly


As you see I have few problem the arm kinda move around
I think I need to fix the nods but still the same

for the rest of the animations It worked quite good
but can I make the drive shaft rotate when I move

extra_animations:
Code:
[ROTATING_OBJECT_0]
NAME=CAM1; - name of the dummy
RPM=-300; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1

[ROTATING_OBJECT_1]
NAME=CAM2; - name of the dummy
RPM=-300; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1

[ROTATING_OBJECT_2]
NAME=TFAN1; - name of the dummy
RPM=-200; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1

[ROTATING_OBJECT_3]
NAME=TFAN2; - name of the dummy
RPM=-200; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1

[ROTATING_OBJECT_4]
NAME=DRSHAFT; - name of the dummy
RPM=130; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1

[ROTATING_OBJECT_5]
NAME=ALTR; - name of the dummy
RPM=-300; - as there is no blurred texture, after a certain speed it actually starts looking slower so keep around 100
AXIS=0,0,1
 
  • Like
Reactions: John514

AccAkut

2000RPM
Premium
Mar 21, 2015
2,750
2,615
Pretty cool project :thumbsup:
For the driveshafts to work correctly (as in rotate according to wheel speed) you need ANIMATED_SUSPENSION=TRUE in the car.ini, and ksanim files for each corner.
 

MohdTN

25RPM
Original poster
Dec 8, 2017
44
108
24
Pretty cool project :thumbsup:
For the driveshafts to work correctly (as in rotate according to wheel speed) you need ANIMATED_SUSPENSION=TRUE in the car.ini, and ksanim files for each corner.
Thank you
Can you explain to me more about what kind of ksanim and how to get it to work with the wheel speed
 

MohdTN

25RPM
Original poster
Dec 8, 2017
44
108
24
Can someone Help me with this one

I can't keep it from tilting up and down
what can I do to make it work right

suspensions.ini
Code:
[HEADER]
VERSION=2

[BASIC]
WHEELBASE=2.51                            ; Wheelbase distance in meters
CG_LOCATION=0.51                        ; Front Weight distribution in percentance

[ARB]
FRONT=19000                            ; Front antiroll bar stifness. in Nm
REAR=4800                                ; Rear antiroll bar stifness. in Nm


[FRONT]
TYPE=DWB
BASEY=-0.155                                ; Distance of CG from the center of the wheel in meters. Front Wheel Radius+BASEY=front CoG. Actual CG height =(FWR+FBasey)+(RWR+Rbasey))/CG_LOCATION%
TRACK=1.535                                    ; Track width in meters (from pivot 3D placement of the 3d model of a wheel)
ROD_LENGTH=0.180                        ; push rod length in meters. positive raises ride height, negative lowers ride height.
HUB_MASS=27                                ; masse sospese anteriori
RIM_OFFSET=0.037
WBCAR_TOP_FRONT=0.45, 0.12, 0.119
WBCAR_TOP_REAR=0.45, 0.12, -0.10
WBCAR_BOTTOM_FRONT=0.4102, -0.15, 0.119
WBCAR_BOTTOM_REAR=0.4102, -0.15, -0.10
WBTYRE_TOP=0.206, 0.126, 0.002
WBTYRE_BOTTOM=0.165, -0.142, 0.002
WBCAR_STEER=0.64, -0.11, 0.27
WBTYRE_STEER=0.1493, -0.095, 0.139
TOE_OUT=-0.00020                ; Static Camber in degrees. Actual camber relative to suspension geometry and movement, check values in game
STATIC_CAMBER=0
SPRING_RATE=11708                        ; Wheel rate stifness in Nm. Do not use spring value but calculate wheel rate
PROGRESSIVE_SPRING_RATE=10000                ; progressive spring rate in N/m/
BUMP_STOP_RATE=50000                        ; bump stop spring rate
BUMPSTOP_UP=0.100                        ; meters to upper bumpstop from the 0 design of the suspension
BUMPSTOP_DN=0.085                        ; meters to bottom bumpstop from the 0 design of the suspension
PACKER_RANGE=0.200                        ; Total suspension movement range, before hitting packers
DAMP_BUMP=3500                            ; Damper wheel rate stifness in N sec/m in compression
DAMP_FAST_BUMP=2100
DAMP_FAST_BUMPTHRESHOLD=0.100
DAMP_REBOUND=5500                        ; Damper wheel rate stifness in N sec/m in rebound
DAMP_FAST_REBOUND=3500
DAMP_FAST_REBOUNDTHRESHOLD=0.100

[REAR]
TYPE=DWB
BASEY=-0.15                                    ; Distance of CG from the center of the wheel in meters. Rear Wheel Radius+BASEY=Rear CoG  Actual CG height =(FWR+FBasey)+(RWR+Rbasey))/CG_LOCATION%
TRACK=1.535
ROD_LENGTH=0.160                   
HUB_MASS=44.5
RIM_OFFSET=0.0370
WBCAR_TOP_FRONT=0.39022, 0.08701, 0.10935
WBCAR_TOP_REAR=0.42022, 0.09469, -0.10935
WBCAR_BOTTOM_FRONT=0.44100, -0.07010, 0.10935
WBCAR_BOTTOM_REAR=0.44042, -0.08989, -0.10935
WBTYRE_TOP=0.130, 0.1122, 0.00000
WBTYRE_BOTTOM=0.130, -0.10511, 0.00000
WBCAR_STEER=0.3899, -0.04540, 0.1602
WBTYRE_STEER=0.0913, -0.05342, 0.14988
TOE_OUT=-0.00030
STATIC_CAMBER=0
SPRING_RATE=13417
PROGRESSIVE_SPRING_RATE=10000
BUMP_STOP_RATE=61000
BUMPSTOP_UP=0.085                       
BUMPSTOP_DN=0.085
PACKER_RANGE=0.160                       
DAMP_BUMP=2600
DAMP_FAST_BUMP=1250   
DAMP_FAST_BUMPTHRESHOLD=0.100                       
DAMP_REBOUND=2600   
DAMP_FAST_REBOUND=1300
DAMP_FAST_REBOUNDTHRESHOLD=0.100                   


[GRAPHICS_OFFSETS]
WHEEL_LF=0.0            ;Left front graphical offset of the wheel positioning in the x axis (width). + is left - is right movement
SUSP_LF=0.0                    ;Left front graphical offset of the suspension positioning in the x axis (width). + is left - is right movement
WHEEL_RF=-0.0                ; Right front as above
SUSP_RF=-0.0                ; Right front as above
WHEEL_LR=0.0                ; Left rear as above
SUSP_LR=0.0                    ; Left rear as above
WHEEL_RR=-0.0                ; Right rear as above
SUSP_RR=-0.0                ; Right rear as above

[DAMAGE]
MIN_VELOCITY=40                ; MINUMUM VELOCITY TO START TAKING DAMAGE
GAIN=0.0004                    ; AMOUNT OF STEER ROD DEFLECTION FOR IMPACT KMH
MAX_DAMAGE=0.05            ; MAXIMUM AMOUNT OF STEER ROD DEFLECTION ALLOWED
DEBUG_LOG=1                    ; ACTIVATES DAMAGE DEBUG IN THE LOG