Merged the physics branch back to trunk. There should be no change at
this stage for users. The physics branch added a few new stability options (which are disabled by default), fixed bug and reproducing history files when using physics replay, using --log=file command line option. See log on the physics branch for full details. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -49,15 +49,15 @@
|
||||
<!-- The title music. -->
|
||||
<music title="main_theme.music"/>
|
||||
|
||||
<!-- Mostly for debugging: maximum number of history entrie$a -->
|
||||
<!-- Mostly for debugging: maximum number of history entries -->
|
||||
<history max-frames="10000"/>
|
||||
|
||||
<!-- Skidmark data: maximum number of skid marks, and
|
||||
time for skidmars to fade out. -->
|
||||
time for skidmarks to fade out. -->
|
||||
<skid-marks max-number="100" fadeout-time="60"/>
|
||||
|
||||
<!-- Defines when the upright constraint should be acctive, it's
|
||||
disables when the kart is more than this value from the track. -->
|
||||
disabled when the kart is more than this value from the track. -->
|
||||
<near-ground distance="2"/>
|
||||
|
||||
<!-- How long the end animation will be shown. -->
|
||||
@@ -231,9 +231,12 @@
|
||||
<mass value="225"/>
|
||||
|
||||
<!-- Suspension related values. stiffness: kart's suspension stiffness.
|
||||
rest Length of suspension when at rest. travel-cm: maximum
|
||||
movement of suspension - in cm!! -->
|
||||
<suspension stiffness="248.0" rest="0.2" travel-cm="19"/>
|
||||
rest: Length of suspension when at rest.
|
||||
travel-cm: maximum movement of suspension - in cm!!
|
||||
exp-string-response: dampen the suspension spring reaction
|
||||
exponentially -->
|
||||
<suspension stiffness="248" rest="0.2" travel-cm="19"
|
||||
exp-spring-response="false"/>
|
||||
|
||||
<!-- Wheel related parameters: damping-relaxation/compression: for
|
||||
bullet, damping parameters. Radius and width of wheel.
|
||||
@@ -253,26 +256,22 @@
|
||||
<friction slip="10000000"/>
|
||||
|
||||
<!-- Values related to stability of the chassis: damping, and reduced
|
||||
impact of roll. -->
|
||||
impact of roll.
|
||||
downward-impulse-factor: A speed proportional impulse applied each
|
||||
frame that pushes the vehicle onto the ground.
|
||||
track-connection-accel: An artificial force that pulls a wheel to
|
||||
the ground if its off ground. Reduces the affect if a kart loses
|
||||
contact with the ground (i.e. it then can't steer or accelerate
|
||||
anymore). -->
|
||||
<stability roll-influence="0.03"
|
||||
chassis-linear-damping="0.2"
|
||||
chassis-angular-damping="0"/>
|
||||
chassis-angular-damping="0"
|
||||
downward-impulse-factor="0"
|
||||
track-connection-accel="0"/>
|
||||
|
||||
<!-- Parameters for the upright constraint, which keeps karts upright. -->
|
||||
<upright tolerance="0.2" max-force="30"/>
|
||||
|
||||
<!-- An artificial force that pulls a wheel to the ground if its off
|
||||
ground. Reduces the affect if a kart loses contact with the ground
|
||||
(i.e. it then can't steer or accelerate anymore). -->
|
||||
<track-connection-accel value="2"/>
|
||||
|
||||
<!-- jump-velocity is the z-axis velocity set when a jump is initiated.
|
||||
This will cause the kart to start rising, till it is pulled back
|
||||
by gravity. A higher value means higher Z velocity, meaning the
|
||||
kart will rise faster and higher, and will be in the air longer.
|
||||
Notice that jumps are currently disabled, so this value is ignored. -->
|
||||
<jump velocity="3.0"/>
|
||||
|
||||
<!-- collision-side-impulse is an additional (artificial) impulse that
|
||||
pushes the slower kart out of the way of the faster karts (i.e.
|
||||
sideways to the faster kart) when a collision happens. This is
|
||||
@@ -291,11 +290,13 @@
|
||||
band-speed-increase="7" band-fade-out-time="3"
|
||||
in-face-time="4 6 7"/>
|
||||
|
||||
<!-- Kart-specific explosion parameters. Height: how high this
|
||||
this kart is being pushed in the sky by an explosion.
|
||||
Time: how long it takes before the kart can drive again.
|
||||
<!-- Kart-specific explosion parameters.
|
||||
Time: how long it takes before the kart can drive again (this
|
||||
determines how height the kart is being thrown).
|
||||
Invulnerability-time: how long a kart will be invulnerable
|
||||
after being hit by an explosion. -->
|
||||
after being hit by an explosion.
|
||||
radius: Kart closer to this value will be affected by
|
||||
an explosion as well. -->
|
||||
<explosion time="2" radius="5"
|
||||
invulnerability-time="6" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user