Benau
0cee131b9f
Add positional smoothing for physical objects in network
2018-07-13 20:27:37 +08:00
Benau
1333fe2d19
Use minimum size for uid of rewinder
2018-07-13 15:05:07 +08:00
Benau
ef65d70f77
Compress physical object state
2018-07-13 13:46:15 +08:00
Benau
565dfcef96
Only send state for moving track object
2018-07-13 10:47:30 +08:00
Benau
ab528e2840
Add a unique identity to each rewinder
2018-07-12 12:41:06 +08:00
Benau
99659e8021
Initial work on dynamic physics object rewind
2018-07-12 09:05:26 +08:00
Benau
a76a6e3508
Use smoothed transform to raycast the skidmark quads
2018-07-05 14:22:37 +08:00
hiker
cdfdab7db3
Added documentation, and properly #ifdef'ed cushioning debug output.
2018-06-26 17:21:22 +10:00
hiker
12095d6fcd
Try different way of cushioning - documentation is still msissing,
...
only for testing.
2018-06-26 10:36:38 +10:00
Benau
295568560b
Make m_num_wheels_on_ground update after rewind
2018-06-25 16:34:46 +08:00
hiker
bca11b98fb
Decode the solver-mode only once instead of at every race start.
2018-06-21 10:20:22 +10:00
hiker
2c0d47e511
Made some solver parameters configurable in stk-config.
2018-06-21 00:31:51 +10:00
hiker
41ed9fc332
Removed execute permission.
2018-06-18 13:55:55 +10:00
hiker
8a534bb795
Fixed missing collisions.
2018-06-08 15:28:44 +10:00
hiker
b0da0f640a
Merge remote-tracking branch 'origin/master' into network-items,
...
fixed conflicts.
2018-06-08 10:55:14 +10:00
hiker
80ab0b6cda
Moved the 'visual' raycasts (for skidmarks) out of the update loop
...
into the updateGraphics call tree.
2018-06-06 08:24:34 +10:00
hiker
b15de8c3dc
Update m_hardPointWS after a rewind to make sure the current
...
terrain is computed based on the new (rewound) kart position.
2018-06-04 08:53:21 +10:00
Benau
b8982200b6
Fix track objects in network
2018-05-15 15:23:39 +08:00
Benau
7fb276e976
Don't update the physical object if it's static
2018-04-19 14:14:37 +08:00
Benau
c3f2d144b2
Fix m_current_transform uninitialized
2018-04-19 11:46:49 +08:00
hiker
95bba525c5
Refacotring: instead of Moveable::update calling updateGraphics,
...
this is now called separately once per rendered frame from
the main loop. Started to split other objects to have separate
updateGraphics functions (e.g. to fix skid marks issues caused
by previously updating skidmarks even in rewind).
2018-04-18 22:27:06 +10:00
hiker
896b631f97
Removed unused skidding code.
2018-04-15 00:40:41 +10:00
hiker
7bbaebe594
Fixed skidding rewind by adding all necessary variable to skidding
...
state and adding timed impulse to physics state of kart.
2018-04-13 00:44:53 +10:00
hiker
c456edd9f2
Convert more time handling to handling ticks.
2018-03-20 09:25:39 +11:00
hiker
d3a60356c9
Merge remote-tracking branch 'origin/fix-timestep' into game_protocol.
...
Started to use ticks instead of time floating point values in networking.
2018-03-13 18:37:12 +11:00
hiker
95f0bf9e3b
Used functions in stk_config to convert between ticks and times.
2018-02-23 23:22:49 +11:00
hiker
26401972d2
Merge branch 'fix-timestep' into game_protocol
2018-02-13 08:41:49 +11:00
hiker
c7bc47f2e3
Fixed world update to be fixed at the physics frame rate.
2018-02-12 09:54:46 +11:00
hiker
4d03fbd1fb
Made the physics time step size configurable in the config file.
2018-02-12 08:23:06 +11:00
hiker
37d81be033
Made the physics time step size configurable in the config file.
2018-02-10 17:55:45 +11:00
hiker
8eddff3e34
Merge branch 'speed-cap-to-physics' into game_protocol
2018-02-09 16:03:58 +11:00
hiker
6c0f97261a
Fixed missing startup boost, improved maths to only use
...
velocity in the current plane for boosting.
2018-02-09 09:15:23 +11:00
hiker
d5938a2447
Replaced old zipper handling in physics with minSpeed setting.
2018-02-06 08:51:17 +11:00
hiker
884e966ab9
Added capability to handle setting the maximum speed first to 0, and then
...
later to a higher value (which happens in overworld, which sets max speed
to 0, but the value got later overwritten with the normal supertuxkart max_speed
handling.
2018-02-05 16:11:19 +11:00
hiker
baa0677b1a
Handle max- and min-speed capping in phyiscs (which is frame rate
...
independent).
2018-02-05 15:57:40 +11:00
Benau
6bcee60a1c
Merge remote-tracking branch 'origin/master' into game_protocol
2018-01-24 10:20:06 +08:00
Benau
0aa61ec746
Header clean up
2018-01-22 01:11:53 +08:00
Benau
7797115867
Add SP for correct normal and easier shader system
2017-12-25 14:00:10 +08:00
hiker
51fd0c1e8e
Don't limit number of physics steps in networking, since otherwise
...
physics results can diverge.
2017-12-18 23:08:40 +11:00
Benau
8ba0fd3569
Allow exact shape to be used with tangents mesh
2017-11-05 00:55:26 +08:00
hiker
4c1874ebf8
Hopefully fix #2939 (backpedal animation flickers when stopping and
...
left/right is being pressed).
2017-10-23 08:44:17 +11:00
Benau
b09eec4bcb
Allow speed weight objects to be attached to bone
2017-09-18 11:27:21 +08:00
hiker
db71824804
Minor documentation update.
2017-04-19 23:33:31 +10:00
hiker
c23873da37
Properly fix driving no physical objects to enable smoothing (e.g.
...
volcano in both directions).
2017-04-18 23:07:24 +10:00
hiker
4dce66ba6d
Worked around incorrect normal calculation if the kart was driving
...
on a physical object.
2017-04-13 00:21:35 +10:00
hiker
794f1b59ed
Removed unused code.
2017-03-31 23:30:55 +11:00
hiker
db31237d19
Removed old workaround for uneveness in tracks, which contributed
...
to karts sometimes being able to drive up walls.
2017-03-31 23:13:38 +11:00
hiker
1cd5bb66c9
Try to better handle small 'gaps' (or perhaps floating point
...
rounding errors) in tracks that can cause odd physics behaviour
(e.g. being able td drive upp the walls).
2017-03-30 00:08:30 +11:00
hiker
9fdd39b075
Removed unused code.
2017-03-24 16:35:45 +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
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
30cff00757
Reduce internal physics timestep to test if collision handling improves.
2017-02-20 07:48:25 +11:00
hiker
4d406490e1
Made ScriptingEngine a singleton and removed it from World, which reduces
...
more dependencies on world.
2016-12-13 09:18:59 +11:00
hiker
b12453e9ca
Made Physics a singleton, removing the accessor functions from World.
...
Removes dependency on World for a few files.
2016-12-13 08:31:08 +11:00
hiker
cd149ab5d7
Moved m_track out of World into a static m_track in Track. Makes
...
world smaller and removes a few dependencies on World.
2016-12-13 07:53:33 +11:00
hiker
8949e89809
Merge remote-tracking branch 'origin/master' into rewind
...
Fixed conflicts.
2016-10-05 08:21:10 +11:00
hiker
9595a76d36
Removed unnecessary flag to keep track if speed icnrease is defined.
2016-10-04 08:28:01 +11:00
hiker
a6568e01ea
Propperly handle instand speed increases in the physics when rewinding.
2016-09-26 09:01:18 +10:00
hiker
f09ed569cc
Bugfix: kart rewinder stored incorrect bullet zipper speed.
2016-09-21 17:27:08 +10:00
Benau
36eca8bc55
Avoid setting gravity in btKart
2016-09-19 11:18:16 +08:00
Benau
ffd497276b
Fix kart flying
2016-09-18 12:38:36 +08:00
Benau
b137dbb71c
Set gravity inside btKart, allowing starting upside down in arena
2016-09-18 10:53:58 +08:00
hiker
f8b48a0313
Added zipper speed to state of kart.
2016-09-13 09:55:51 +10:00
Benau
ba047a4f99
Keep flying karts parallel to the ground in the physics, not outside
...
Like 44da1fb4f2
, but takes terrain
into account
2016-09-11 15:35:42 +08:00
Benau
21dc569f70
Start to clean up quad and graph node
2016-09-04 11:56:03 +08:00
hiker
c01f838b0f
Merge remote-tracking branch 'origin/master' into rewind
2016-08-08 14:34:24 +10:00
hiker
a15c9529a5
Merge remote-tracking branch 'origin/master' into rewind
2016-08-01 08:18:38 +10:00
hiker
cdde62dadb
Further tweaked restitution for track and bowling ball to avoid
...
bowling balls jumping up and down, while still maintaining a push
back for soccer balls.
2016-08-01 08:00:14 +10:00
hiker
8f7d47d3c3
Fix ball-track collision (which should also improve kart-track
...
collision).
2016-07-29 09:53:37 +10:00
Benau
143bc2618e
Remove a unneeded setting
2016-06-13 09:09:18 +08:00
Benau
1e1093dccc
Fix default value of m_angular_damping
2016-06-12 08:09:28 +08:00
hiker
321fc09a15
Fixed compiler warning.
2016-06-10 16:02:24 +10:00
hiker
9de6def4cf
Fixed missing collision callbacks for e.g. soccer balls.
2016-06-10 09:31:12 +10:00
hiker
3ec56386df
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-05-25 21:35:17 +10:00
hiker
566df3dee6
Made more physics parameters for objects adjustable in the xml file
...
(for now to support a puck).
2016-05-25 17:21:31 +10:00
Benau
221a757942
Merge branch 'arena_ai_profiling'
2016-05-24 15:52:32 +08:00
hiker
92be0c65ad
Added support for setting the restitution for physical objects.
2016-05-19 13:25:29 +10:00
Benau
d2f26fe70d
First playable advanced soccer ai
2016-05-16 15:24:05 +08:00
hiker
7d0953ad83
Merge branch 'master' into rewind
2016-04-12 17:36:56 +10:00
Odd0002
47bac3b33d
Fix debug build on GCC 5.3.0
2016-03-26 22:36:22 -05:00
hiker
ee320588d5
Merge remote-tracking branch 'origin/master' into support_nw_splitscreen
2016-02-09 17:40:59 +11:00
Benau
3a3963bf8d
Make STK soccer mode more like real match
...
1. Short win animation is shown in a kart if it scored correctly
2. Possible to identify own goal in result gui
Also player name is shown instead of kart name in result gui for all modes.
2016-01-19 16:21:58 +08:00
hiker
d3a7c75a62
Replaced many uses of getPlayer with Controller::canGetAchievements.
...
Removed some unused variables.
2016-01-15 08:02:36 +11:00
hiker
68e37c902f
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-12-15 22:52:55 +11:00
hiker
dbd210d08c
Renamed PlayerController into LocalPlayerController.
2015-12-10 17:54:29 +11:00
auriamg
f0fafc2651
Merge pull request #2245 from Flakebi/kart-properties
...
Kart properties
2015-12-07 18:44:14 -05:00
deve
0bd15acb93
Fixed compiler warning.
...
gcc complains that std::auto_ptr is deprecated.
2015-12-03 14:51:26 +01:00
Flakebi
aea68a2c14
Remove characteristics from kart
2015-11-29 04:08:12 +01:00
Flakebi
ffa85d2206
Merge remote-tracking branch 'upstream/master' into kart-properties
2015-11-21 23:03:58 +01:00
Nado
d66a70b250
Fixing some -Wunused-variable
2015-11-17 11:42:28 +01:00
Thomas Glamsch
a5a9b9f6c1
Fix a memory leak in PhysicalObject::init().
2015-11-02 01:43:54 +01:00
Flakebi
5e6e85ab79
Merge branch master into kart-properties
2015-10-03 15:20:06 +02:00
hiker
642a333e5e
Fixed kart getting stuck at doors of overworld (and other static
...
physical objects).
2015-09-26 01:08:10 +10:00
hiker
fc67252e78
Fix #2300 (mostly,karts get stuck there atm, but can't drive through the door).
2015-09-25 09:15:47 +10:00
Marianne Gagnon
9a6b41d2b5
Apply offset on meshes with exact collision shape, fixes #2300
2015-08-31 19:57:55 -04:00
Flakebi
b51eadae28
Merge branch 'master' into kart-properties
2015-08-16 16:45:47 +02:00
Marianne Gagnon
7b8da0ef34
Bugfix : objects with a physics collision from a library should rotate and scale according to the parent library object
2015-08-11 20:55:04 -04:00
Marianne Gagnon
d488c043d1
Continue work on scripting, fixing #2268 . Use this as an opportunity to clean up a lot of old hardcoded overworld code, and replace it with cleaner scripting. Make sure to update SVN and the exporter (other commits in SVN coming soon)
2015-08-09 21:38:01 -04:00
hiker
b44f0605dc
Try to bring karts quicker back on the ground when the kart is
...
on its side, without overcompensating (and therefore shaking)
when the kart is only slightly non-parallel to the ground
when flying.
2015-08-05 17:00:40 +10:00
Flakebi
5d36b95c95
Merge remote-tracking branch 'upstream/master' into kart-properties
...
Conflicts:
data/stk_config.xml
sources.cmake
src/karts/kart.cpp
src/karts/kart.hpp
src/karts/kart_properties.cpp
src/karts/kart_properties.hpp
src/tracks/track.cpp
2015-07-29 02:48:43 +02:00