File: physics.data

package info (click to toggle)
supertuxkart 0.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 22,432 kB
  • ctags: 1,782
  • sloc: cpp: 12,135; sh: 3,429; makefile: 181
file content (46 lines) | stat: -rw-r--r-- 1,679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;; -*- mode: lisp -*-

(physics

 ;; Attachment related parameters
 ;; -----------------------------
 (anvil-weight             150.0 )
 (anvil-speed-factor         0.2 )
 (parachute-friction         2.0 )
 (magnet-range              30.0 )
 (magnet-min-range           4.0 )

 ;; Other kart relates values
 ;; -------------------------
 (jump-impulse               0.3 )  ;; percentage of gravity!

 (reduce-air-resistance-racer  0.6) ;; reduce air-resistance for hard
 (reduce-air-resistance-driver 0.8) ;; and medium skill level

 ;; The following files are the defaults for karts
 ;; ----------------------------------------------
 (kart-defaults
   (wheel-base               1.2 )
   (heightCOG                0.2 )
   (engine-power           400   )
   (brake-factor             5   )
   (mass                   125   )
   (air-resistance           1.8 )
   (roll-resistance          1.05)
   (tire-grip                0.9 )
   (max-steer-angle         90   )
   (time-full-steer          0.3 )
   (corn-f                   4   )
   (corn-r                   4   )
   (wheelie-max-speed-ratio  0.9 ) ;; percentage of max speed for wheelies to work
   (wheelie-max-pitch       45.0 ) ;; maximum pitch to use when doing a wheelie
   (wheelie-pitch-rate      60.0 ) ;; rate/sec with which the kart goes up
   (wheelie-restore-rate    90.0 ) ;; rate/sec with which the kart does down
   (wheelie-speed-boost     10.0 ) ;; speed boost while doing a wheelie

   ;; Inertia for a rectanguar plane is: M*(a^2+b^2)/12 when rotating
   ;; around the center of gravity, where a and b are the width and length 
   (inertia                  5.0 )
  )   ;; end kart-defaults
)
;; EOF ;;