17519 Commits

Author SHA1 Message Date
hiker
3da2c07d62 Enable friction to be changed per wheel: previously sliding was only
enabled once the whole kart chassis was tilted enough, but karts could
still end up driving on a wall (one wheel on a wall would not tilt the
chassis enough to trigger sliding, but give the kart an up velocity
which allowed it to drive on the wall). Friction is now determined
by the normal of the triangle hit by the raycast.
2017-03-29 08:32:50 +11:00
hiker
9fdd39b075 Removed unused code. 2017-03-24 16:35:45 +11:00
hiker
6c35c08474 Increased suspensoin stiffness to offset the reduced impulse casued
by removing the '*f' factor (seee 9a5eec3761f1647f81b5879d993c0ba8ae0584a4).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
f35b9c9480 Try setting kart (vs track specificially) friction to 0, and
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11:00
hiker
b8655e53cc Added support to modify the angular factor of a kart. The angular
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
hiker
5bbacfc72d Allow tracks to set their friction (defaults to the bullet default 0f 0.5). 2017-03-21 16:24:29 +11:00
hiker
6ac6d9ebfe Fixed compiler warnings. 2017-03-17 15:56:47 +11:00
hiker
9a5eec3761 Try tp reduce sudden rotation after a collision, and reduce frequencies
of kart being pushed into the air.
2017-03-16 16:14:48 +11:00
hiker
0f37f7cdc0 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-03-16 15:59:10 +11:00
Benau
ce426d82cc Move loadSfx to the SFXManager thread 2017-03-16 11:01:46 +08:00
Benau
e0fcf7c613 Fix build for real 2017-03-16 10:52:12 +08:00
Benau
9025948ced Fix build 2017-03-16 10:18:31 +08:00
Benau
b112b124f2 Fix build 2017-03-16 10:02:51 +08:00
Benau
d55b513ca8 Try to fix clang build 2017-03-16 09:51:09 +08:00
Benau
1ba3fce7b8 Get rid of STK::Tuple 2017-03-16 09:16:06 +08:00
Benau
cc2c2c6f33 Remove the usage of openmp in stk, see #2810 2017-03-16 08:42:53 +08:00
Benau
0f1e0f8f4d Merge remote-tracking branch 'origin/optimisations' 2017-03-16 08:29:05 +08:00
hiker
d32cb733a5 Bugfix, if path was given the filename was not used at all. 2017-03-15 22:30:32 +11:00
hiker
698fe1aa1b Merge branch 'fix2809' 2017-03-15 12:52:55 +11:00
hiker
a2bca46958 Fixed compiler warning. 2017-03-15 12:52:46 +11:00
hiker
71f247ecb7 Fix 2809. 2017-03-15 12:46:20 +11:00
hiker
9bee42ccb7 Merge remote-tracking branch 'origin/master' into fix-cannon 2017-03-14 15:10:27 +11:00
hiker
e5eb40b773 Smooth skidding rotation when entering a cannon. 2017-03-14 12:51:10 +11:00
Deve
6ea06e05de Use kart lights only in shader-based pipeline.
It causes a huge slowdown in legacy pipeline, even if the radius is set to 0.
2017-03-13 01:26:48 +01:00
Sam
97670ed23c Improved wind effect for vegetation 2017-03-12 21:35:48 +01:00
Deve
b8e3de0161 Allow to use debug menu on android 2017-03-12 11:42:21 +01:00
rogue-spectre
d33d72dfb8 fix feedback offroad #2761 (#2806)
* Fix updateenginesfx

smooth engine sound and fix https://github.com/supertuxkart/stk-code/issues/2761

* update enginesfx

* remove m_last_max_speed useless

* forgot : float max_speed

* Add missing space around =

* add space around = m_last_factor_engine_sound
2017-03-11 09:04:38 -05:00
hiker
0bd459c2aa Fix the transition from physics orientation to cannon (i.e. no more
yerk when the kart is not parallel to the tangent of the curve at start).
2017-03-10 17:11:54 +11:00
Marianne Gagnon
62d64847c4 Fix texture paths on case-sensitive file systems, fixes #2807 2017-03-09 18:41:35 -05:00
hiker
aac92f6111 Code simplification. 2017-03-10 08:44:51 +11:00
hiker
5640436aa8 Support cannons in reverse tracks. 2017-03-10 08:38:03 +11:00
hiker
c8b69cecb6 Merge remote-tracking branch 'origin/master' into fix-cannon 2017-03-09 23:05:03 +11:00
hiker
a500f3becc Applied Stragus' SSE optimisations for spherical harmonics. 2017-03-09 22:58:22 +11:00
hiker
12e6bab90a Merge branch 'master' of github.com:supertuxkart/stk-code 2017-03-09 22:42:06 +11:00
auria.mg
2d6cf4c487 Remove a few more string allocations/manipulations 2017-03-08 20:42:16 -05:00
auria.mg
571832fbbc Make all material names and path lowercase upon loading them, moving several string allocations and modifications outside of hot loops 2017-03-08 20:30:45 -05:00
Deve
adfa8f30f9 Better fix for missing transparency in GLES legacy pipeline 2017-03-08 23:17:03 +01:00
hiker
87950c9a94 Adjust up vector of kart slowly so that the kart is upright (even
when it was not upright at the start of the cannon).
2017-03-09 08:56:01 +11:00
Deve
21cb853079 One more tweak for hiding story mode icon if it's not available.
Now it should work properly, sorry for the mess.
2017-03-08 22:09:47 +01:00
Deve
d339d9acef Fixed ambient light for legacy pipeline.
TODO: It should be possible to convert it once together with spherical harmonics computations.
2017-03-08 21:41:53 +01:00
Deve
11255cb2b8 Fixed wrong lights color for legacy pipeline.
SColor is ARGB, but SColorf is RGBA... WTF?
2017-03-08 21:12:24 +01:00
hiker
bedb565f24 Simplified maths. 2017-03-08 17:57:03 +11:00
hiker
2436161b05 Approximate bezier curves better to avoid stuttering in cannons. 2017-03-07 22:24:46 +11:00
hiker
ae375c50b6 Allow the player to go to the left and right when in a cannon. 2017-03-07 22:11:15 +11:00
Deve
35139877f6 Fixed a crash on changing resolution 2017-03-06 23:10:29 +01:00
Deve
fcae7dfc33 Fixed compiler warnings 2017-03-06 17:22:44 +01:00
Deve
d4cecd5a8b Show story mode icon only if overworld track exists.
It allows to decrease apk size a bit.
2017-03-05 23:31:53 +01:00
Deve
eeb7c8f5de Added a support for release builds 2017-03-05 22:02:50 +01:00
Deve
be67fb1df9 Update readme 2017-03-05 08:55:35 +01:00