Page 1 of 1
Posted: 25 Aug 2009, 13:29
nero


The car's camera position is SO ankward,i tryed everything but the bug wont go!
Any help? :(

Posted: 25 Aug 2009, 16:39
MOH
that looks like youve got the COM too low, thats the only time i ever get that problem. Do you have the body 0,0,0 and adjust the wheels to fit or do you just move the body?

Posted: 25 Aug 2009, 19:14
nero
MOH @ Aug 25 2009, 12:09 PM wrote: that looks like youve got the COM too low, thats the only time i ever get that problem. Do you have the body 0,0,0 and adjust the wheels to fit or do you just move the body?
...

Code: Select all

;====================
; Handling related stuff
;====================

SteerRate  	3.000000  	&#59; Rate at which steer angle approaches value from input
SteerMod    0.400000  	&#59;
EngineRate  4.500000  	&#59; Rate at which Engine voltage approaches set value
TopSpeed    55.000000  	&#59; Car's theoretical top speed (not including friction...)
DownForceMod	2.000000  	&#59; Down force modifier when car on floor
CoM        	0.000000 0.000000 0.000000  &#59; Centre of mass relative to model centre
Weapon      0.000000 -32.000000 64.000000  &#59; Weapon genration offset

;====================
; Car Body details
;====================

BODY {	&#59; Start Body
ModelNum    0  	&#59; Model Number in above list
Offset      0, -20, 0  &#59; Calculated in game
Mass        2.000000
Inertia    	1400.000000 0.000000 0.000000
            0.000000 2200.000000 0.000000
            0.000000 0.000000 700.000000
Gravity  2200  	&#59; No longer used
Hardness    0.000000
Resistance  0.001000  	&#59; Linear air esistance
AngRes      0.001000  	&#59; Angular air resistance
ResMod      25.000000  	&#59; Ang air resistnce scale when in air
Grip        0.010000  	&#59; Converts downforce to friction value
StaticFriction 0.800000
KineticFriction 0.400000
}      &#59; End Body

;====================
; Car Wheel details
;====================

WHEEL 0 { &#59; Start Wheel
ModelNum  1
Offset1  	-27.000000 -7.250000 48.700000
Offset2  	-2.500000 0.000000 0.000000
IsPresent    TRUE
IsPowered    TRUE
IsTurnable  	TRUE
SteerRatio  	-0.500000
EngineRatio  45000.000000
Radius      	11.000000
Mass        	0.150000
Gravity      2200.000000
MaxPos      	5.000000
SkidWidth    10.000000
ToeIn        0.000000
AxleFriction    	0.020000
Grip            	0.020000
StaticFriction  	4.600000
KineticFriction  4.450000
}          &#59; End Wheel

WHEEL 1 { &#59; Start Wheel
ModelNum  2
Offset1  	27.000000 -7.250000 48.700000
Offset2  	2.500000 0.000000 0.000000
IsPresent    TRUE
IsPowered    TRUE
IsTurnable  	TRUE
SteerRatio  	-0.500000
EngineRatio  45000.000000
Radius      	11.000000
Mass        	0.150000
Gravity      2200.000000
MaxPos      	5.000000
SkidWidth    10.000000
ToeIn        0.000000
AxleFriction    	0.020000
Grip            	0.020000
StaticFriction  	4.600000
KineticFriction  4.450000
}          &#59; End Wheel

WHEEL 2 { &#59; Start Wheel
ModelNum  1
Offset1  	-26.000000 -9.000000 -45.250000
Offset2  	-2.000000 0.000000 0.000000
IsPresent    TRUE
IsPowered    FALSE
IsTurnable  	FALSE
SteerRatio  	0.000000
EngineRatio  45000.000000
Radius      	11.000000
Mass        	0.150000
Gravity      2200.000000
MaxPos      	5.000000
SkidWidth    11.000000
ToeIn        0.000000
AxleFriction    	0.050000
Grip            	0.020000
StaticFriction  	4.600000
KineticFriction  4.450000
}          &#59; End Wheel

WHEEL 3 { &#59; Start Wheel
ModelNum  2
Offset1  	26.000000 -9.000000 -45.250000
Offset2  	2.000000 0.000000 0.000000
IsPresent    TRUE
IsPowered    FALSE
IsTurnable  	FALSE
SteerRatio  	0.000000
EngineRatio  45000.000000
Radius      	11.000000
Mass        	0.150000
Gravity      2200.000000
MaxPos      	5.000000
SkidWidth    11.000000
ToeIn        0.000000
AxleFriction    	0.050000
Grip            	0.020000
StaticFriction  	4.600000
KineticFriction  4.450000
}          &#59; End Wheel
I raised the offset of the body and moved the wheels so it fits...after i moved the wheels for the last time,that camera bug occured.

Posted: 25 Aug 2009, 21:03
GWC
Raise the COM. But remember that, to raise COM, you have to make the params +tive.

Geoff

Posted: 25 Aug 2009, 22:25
MOH
put the body to 0,0,0, then adjust the wheels to the right place. then put the middel COM to the middle number of the wheels but negative if the wheel number is positve and positive if the wheels are negative

edit: it also makes the hull centred

Posted: 26 Aug 2009, 02:24
nero
I think i converted the wrong mesh. ;)
Anyway,i do'nt request this topic's clousre,i'm sure it will happen to me again sometime.

Thanks for your replies,

Nero

Posted: 26 Aug 2009, 20:38
human
if the track is being done in max/rvtmod there is a chance (very rarely though) getting a bug-like phenomenon, odd poligons (and invisible walls) cause the camera to take a strange dive, when driving over, under or beside the odd polis. might be the case here.

Posted: 26 Aug 2009, 21:50
nero
human @ Aug 26 2009, 04:08 PM wrote: if the track is being done in max/rvtmod there is a chance (very rarely though) getting a bug-like phenomenon, odd poligons (and invisible walls) cause the camera to take a strange dive, when driving over, under or beside the odd polis. might be the case here.
We are NOT talking about tracks here... ;)
And it's the car that is the problem,not that Lego track.
And also as i said:
I think i converted the wrong mesh.