|
|
3204e97dcf
|
sim ctx decoupling progress
|
2025-02-18 13:49:40 -06:00 |
|
|
|
253104b2ce
|
sim ctx decoupling progress
|
2025-02-18 11:14:41 -06:00 |
|
|
|
f6aa25760e
|
sim ctx decoupling progress
|
2025-02-14 17:01:44 -06:00 |
|
|
|
9bccd4eae3
|
add sampled profiling build option
|
2025-02-14 12:23:49 -06:00 |
|
|
|
be5d10e2b0
|
replace byteio with bitbuff
|
2025-02-13 17:15:23 -06:00 |
|
|
|
6d58619fbe
|
comment
|
2025-02-12 12:30:45 -06:00 |
|
|
|
f1985c5815
|
level clear test
|
2025-02-12 11:18:56 -06:00 |
|
|
|
ff0fbf0878
|
crappy delta encoding test
|
2025-02-11 19:31:06 -06:00 |
|
|
|
fd550a7119
|
refactor ent store into snapshot
|
2025-02-11 12:52:56 -06:00 |
|
|
|
e1a1006b32
|
refactor client store into snapshot
|
2025-02-11 12:07:38 -06:00 |
|
|
|
46c7414f71
|
more timing debug info
|
2025-02-11 08:22:34 -06:00 |
|
|
|
dcbabbdfd1
|
fix precise sleep inaccurate because scheduler period not set
|
2025-02-10 16:37:32 -06:00 |
|
|
|
65211946e0
|
decrease rendering latency by incrementing smooth time by initial guess
|
2025-02-10 16:08:35 -06:00 |
|
|
|
f04a81fbb0
|
re-add lerping via snapshot interpolation
|
2025-02-10 15:22:19 -06:00 |
|
|
|
cd38ab4fbf
|
another buddy fix
|
2025-02-09 16:25:59 -06:00 |
|
|
|
110e28119c
|
fix dbg drag local point
|
2025-02-09 15:36:46 -06:00 |
|
|
|
f000bd7e65
|
progress & fix buddy bug
|
2025-02-09 15:22:43 -06:00 |
|
|
|
6fa3517d7a
|
re-add networked debug drag
|
2025-02-09 11:13:36 -06:00 |
|
|
|
eee5945954
|
differentiate client entities
|
2025-02-08 17:11:04 -06:00 |
|
|
|
16e8bb0dca
|
command line arg passthrough
|
2025-02-08 12:40:59 -06:00 |
|
|
|
ed66382fd6
|
migrate sim global state to ctx structure
|
2025-02-08 12:00:27 -06:00 |
|
|
|
d9ebdc4df2
|
rename 'entity' -> 'sim_ent'
|
2025-02-08 10:07:49 -06:00 |
|
|
|
4cbc6b6d59
|
rename 'game' -> 'sim'
|
2025-02-08 09:45:32 -06:00 |
|
|
|
b9ec028bfa
|
reduce host msg timeout to 0.1
|
2025-02-08 09:38:32 -06:00 |
|
|
|
ca664ac291
|
memory & network usage statistics
|
2025-02-08 09:28:38 -06:00 |
|
|
|
a78c5e1a47
|
networking progress
|
2025-02-08 07:06:56 -06:00 |
|
|
|
78ace4b38a
|
buddy progress
|
2025-02-07 19:17:27 -06:00 |
|
|
|
72728e6a98
|
host progress
|
2025-02-07 15:18:36 -06:00 |
|
|
|
d13a7c70e7
|
host progress
|
2025-02-07 10:56:37 -06:00 |
|
|
|
808edf6e57
|
user game network communication beginning to work
|
2025-02-06 20:33:40 -06:00 |
|
|
|
84e64b5cce
|
host progress
|
2025-02-06 16:13:28 -06:00 |
|
|
|
627f736345
|
host progress
|
2025-02-06 14:32:06 -06:00 |
|
|
|
a80eff9e39
|
host progress
|
2025-02-03 19:54:06 -06:00 |
|
|
|
062285b1b3
|
socket progress
|
2025-01-31 10:26:07 -06:00 |
|
|
|
d7f1ac06cb
|
remove buffer struct, use string struct instead
|
2025-01-30 15:12:26 -06:00 |
|
|
|
a1a1430fd8
|
serialize game cmds
|
2025-01-30 13:36:44 -06:00 |
|
|
|
7d0826b57b
|
give byte writer option to be backed by an arena
|
2025-01-30 11:38:35 -06:00 |
|
|
|
eea9c978c9
|
set aim joint correction rate dynamically based on dt
|
2025-01-30 11:05:38 -06:00 |
|
|
|
79cc9e15e5
|
set tick sim time right before publishing
|
2025-01-29 11:39:05 -06:00 |
|
|
|
f0a25248c3
|
remove sys_timestamp, refactor into generalized i64 holding nanoseconds
|
2025-01-29 11:29:31 -06:00 |
|
|
|
4eef91dd63
|
convert sys_timestamp_t to struct
|
2025-01-29 10:22:00 -06:00 |
|
|
|
fef1d98c26
|
remove redundant cell iter check
|
2025-01-28 23:31:08 -06:00 |
|
|
|
dbd16ccd67
|
skip space cells at 0
|
2025-01-28 20:31:52 -06:00 |
|
|
|
0836eec851
|
broad phase for colliders via aabb spatial hash
|
2025-01-27 19:42:17 -06:00 |
|
|
|
c200a618b0
|
collider_get_aabb & collider_test_aabb
|
2025-01-27 12:11:23 -06:00 |
|
|
|
b9bc22a019
|
profile locks
|
2025-01-26 21:29:03 -06:00 |
|
|
|
ab6761b733
|
formatting
|
2025-01-20 14:26:12 -06:00 |
|
|
|
a2f9f58143
|
retrieve texture size dynamically
|
2025-01-20 12:03:09 -06:00 |
|
|
|
cebaed5aa5
|
refactor renderer_handle -> renderer_texture. retrieve backbuffer as texture.
|
2025-01-20 11:50:18 -06:00 |
|
|
|
c6e1450d88
|
rename viewport -> ui
|
2025-01-20 09:29:34 -06:00 |
|
|
|
3c47774e67
|
rename canvas -> cmd buffer
|
2025-01-20 09:25:32 -06:00 |
|
|
|
511783243d
|
draw ui & world to separate texture
|
2025-01-18 12:29:10 -06:00 |
|
|
|
acced9dfed
|
render to texture
|
2025-01-17 19:29:57 -06:00 |
|
|
|
9549897e6b
|
fix grid offset
|
2025-01-17 11:45:12 -06:00 |
|
|
|
e6cea55854
|
slight renderer refactor. grid shader.
|
2025-01-16 18:04:21 -06:00 |
|
|
|
6c5183fe0a
|
merge sort typo
|
2025-01-16 14:33:13 -06:00 |
|
|
|
d2cfeed161
|
sorted layers first pass
|
2025-01-16 11:42:26 -06:00 |
|
|
|
c361becc73
|
add merge sort
|
2025-01-16 10:40:20 -06:00 |
|
|
|
81f4049f95
|
tweak player torque speed
|
2025-01-15 17:21:29 -06:00 |
|
|
|
ad7ca7d68c
|
pre-generate rand.dat file for deterministic noise. calculate shake based on world time
|
2025-01-15 14:32:36 -06:00 |
|
|
|
4c194d3b39
|
camera shake
|
2025-01-14 17:06:25 -06:00 |
|
|
|
25592d24d3
|
rework collider clipping logic
|
2025-01-13 15:58:30 -06:00 |
|
|
|
a1b8f752c9
|
working on capsule collision bug
|
2025-01-13 11:58:32 -06:00 |
|
|
|
85234c8dac
|
add random direction to blood test
|
2025-01-13 09:50:01 -06:00 |
|
|
|
33ad436040
|
draw bullet circle in tracer
|
2025-01-13 07:53:06 -06:00 |
|
|
|
37f10d76dd
|
working tracers
|
2025-01-12 18:23:01 -06:00 |
|
|
|
5026a967ff
|
config option to disable detailed collision debug
|
2025-01-12 15:36:44 -06:00 |
|
|
|
a00798fc7a
|
tracer beginnings
|
2025-01-12 11:54:48 -06:00 |
|
|
|
0ef72e1b23
|
disable all warnings for profiling build
|
2025-01-11 15:49:57 -06:00 |
|
|
|
0716ebd398
|
separate physics logic from game.c
|
2025-01-10 15:44:07 -06:00 |
|
|
|
1e81a7ea41
|
create collider_closest_points function
|
2025-01-06 11:41:59 -06:00 |
|
|
|
33df739cc6
|
create separate entities for visualizing collision debug info
|
2025-01-03 17:24:34 -06:00 |
|
|
|
9981b600a8
|
draw debug movement for kinematic objects
|
2025-01-03 16:04:32 -06:00 |
|
|
|
1bbe316b20
|
kinematic flag
|
2024-12-16 12:53:52 -06:00 |
|
|
|
f5e45d6ba1
|
game tick continuity gen. start removing static constraint lookup
|
2024-10-30 14:47:17 -05:00 |
|
|
|
c071e17305
|
fix clip winding swap
|
2024-10-30 13:58:11 -05:00 |
|
|
|
c8b48b9537
|
object dragging via mouse joint
|
2024-10-30 10:16:09 -05:00 |
|
|
|
c966924760
|
fix incorrect contact point calculation
|
2024-10-29 13:59:12 -05:00 |
|
|
|
483a95dfca
|
testing linear movement using motor joint
|
2024-10-29 11:13:31 -05:00 |
|
|
|
161e615aa7
|
specify control torque in turns / second
|
2024-10-28 15:58:00 -05:00 |
|
|
|
4e920e071d
|
motor joint
|
2024-10-28 14:33:26 -05:00 |
|
|
|
68d80de75a
|
move manifold data into 'contact_constraint' struct
|
2024-10-23 16:35:09 -05:00 |
|
|
|
7708b8e5b8
|
rework transformation math functions, add separate 'world' transform functions
|
2024-10-22 15:16:34 -05:00 |
|
|
|
ed8b03941e
|
use v2_winding when clipping
|
2024-10-22 11:15:52 -05:00 |
|
|
|
55fc39fddd
|
minor tweaking
|
2024-10-15 17:47:57 -05:00 |
|
|
|
8f1422a882
|
more popping work
|
2024-10-15 14:00:03 -05:00 |
|
|
|
73b7fef768
|
more fixed up capsule collision. remove transform matrix skewing
|
2024-10-12 00:37:15 -05:00 |
|
|
|
6951fa62e3
|
popping probably fixed
|
2024-10-11 14:32:01 -05:00 |
|
|
|
31082916ad
|
unevenly-scaled shape collisions working
|
2024-10-10 16:43:31 -05:00 |
|
|
|
daf1a862f5
|
more physics config defines
|
2024-10-10 13:52:57 -05:00 |
|
|
|
c193e31cce
|
only draw collider line for circles
|
2024-10-10 13:24:08 -05:00 |
|
|
|
59361a60af
|
divide warm start impulse by num contacts
|
2024-10-10 13:13:37 -05:00 |
|
|
|
9b4cfa345d
|
halve warm start impulse to reduce jitter
|
2024-10-10 10:29:35 -05:00 |
|
|
|
bc19bd816d
|
gonna probably rework clipping to better support round shapes
|
2024-10-10 08:57:55 -05:00 |
|
|
|
f22aec28bb
|
more gjk collision work for rounded shapes
|
2024-10-09 13:05:01 -05:00 |
|
|
|
33b32e849c
|
ignore speculative bias during relaxation for stabililty
|
2024-10-08 19:34:52 -05:00 |
|
|
|
ac042a3306
|
rounded collisions working except for clipping
|
2024-10-08 16:01:30 -05:00 |
|
|
|
d52effe5c1
|
wip collider shapes
|
2024-10-08 12:15:11 -05:00 |
|
|
|
5ef8ee3f40
|
rename module gjk -> collider. remove unused gjk functions.
|
2024-10-08 07:43:45 -05:00 |
|
|
|
71e3d9f05f
|
fix gjk causing unstable collisions between flat diagonals
|
2024-10-05 01:03:07 -05:00 |
|
|
|
aac6acd18f
|
apparent stability for now
|
2024-10-04 20:15:44 -05:00 |
|
|
|
cf911f27b7
|
soft contact testing
|
2024-10-04 09:18:09 -05:00 |
|
|
|
2758bdc394
|
friction testing
|
2024-10-02 14:17:48 -05:00 |
|
|
|
acbd97aa84
|
tweaking
|
2024-09-26 17:21:51 -05:00 |
|
|
|
3b21f641ad
|
calculate contact ponits outside of substeps by storing local positions
|
2024-09-25 19:36:28 -05:00 |
|
|
|
c00d43b1de
|
resolve collisions using the new clipped contacts
|
2024-09-25 17:02:46 -05:00 |
|
|
|
a6412ba4f1
|
working face clipping along normal in gjk_contact_points
|
2024-09-24 18:55:41 -05:00 |
|
|
|
88334f2ab1
|
test midpoint contact point
|
2024-09-23 15:00:14 -05:00 |
|
|
|
4b88b282df
|
fix manifold swap issue
|
2024-09-19 20:42:31 -05:00 |
|
|
|
dbdd653ae8
|
fix epa collision not detecting when diagonals touch
|
2024-09-19 17:37:24 -05:00 |
|
|
|
5593db5202
|
replace { 0 } initializers with new ZI macro. enable 'Wmissing-field-initializers'
|
2024-09-19 12:15:55 -05:00 |
|
|
|
7b37f78b1e
|
use shortcut-gjk for gjk_contact_points
|
2024-09-19 10:27:50 -05:00 |
|
|
|
d14207959b
|
more physics testing
|
2024-09-18 14:46:40 -05:00 |
|
|
|
b717a38b13
|
contact testing
|
2024-09-17 12:44:54 -05:00 |
|
|
|
e8bc83df3a
|
revert to returning contact pairs from gjk
|
2024-09-13 12:12:57 -05:00 |
|
|
|
1d7f9be8b4
|
use midpoint of clipped gjk contact faces
|
2024-09-13 11:29:41 -05:00 |
|
|
|
14958a8449
|
gjk contact pair testing
|
2024-09-12 18:36:04 -05:00 |
|
|
|
a946583bc8
|
more physics testing
|
2024-09-12 15:36:20 -05:00 |
|
|
|
2012d0705d
|
start on glitchy collision resolution
|
2024-09-11 13:59:56 -05:00 |
|
|
|
e3055062e6
|
angular velocity testing
|
2024-09-10 16:11:39 -05:00 |
|
|
|
a0600fc419
|
revert to using euler integration
|
2024-09-10 14:14:56 -05:00 |
|
|
|
8177754821
|
revert to non-swept epa
|
2024-09-10 13:56:26 -05:00 |
|
|
|
8050c39496
|
minor cleanup
|
2024-09-09 12:08:28 -05:00 |
|
|
|
5c03288c53
|
formatting
|
2024-09-09 10:56:54 -05:00 |
|
|
|
14163d2a09
|
semi working sweeping collision along velocity
|
2024-09-06 16:00:44 -05:00 |
|
|
|
11759dc6cd
|
better direction gjk testing (still bugged since edge is furthest in velocity rather than closest projected, even though point is now correctly projected from end of velocity ray)
|
2024-09-05 09:16:01 -05:00 |
|
|
|
f608000b85
|
re-add/enable gjk debug visualization
|
2024-09-04 10:26:04 -05:00 |
|
|
|
9cb34ea1cd
|
gjk.c & gjk.h
|
2024-09-03 15:59:06 -05:00 |
|
|
|
c3b96d1597
|
join logic for gjk expansion into one function
|
2024-09-03 14:30:42 -05:00 |
|
|
|
d735ff8fc8
|
fix closest points janky when shape edges aligned
|
2024-08-30 19:57:34 -05:00 |
|
|
|
987842e130
|
working depth points for colliding gjk
|
2024-08-30 18:22:48 -05:00 |
|
|
|
ed1a788821
|
gjk closest point working for non-colliding entities
|
2024-08-30 17:15:26 -05:00 |
|
|
|
2fe3502cfc
|
fix gjk hang
|
2024-08-30 14:40:40 -05:00 |
|
|
|
8fd92c55a1
|
gjk expanded testing non-colliding closest face
|
2024-08-30 13:39:28 -05:00 |
|
|
|
99381f1274
|
gjk tweaks
|
2024-08-30 09:00:18 -05:00 |
|
|
|
8de566cad5
|
gjk step tweaking in debug mode
|
2024-08-29 18:46:08 -05:00 |
|
|
|
2150d0e3c4
|
working epa test
|
2024-08-29 11:31:57 -05:00 |
|
|
|
818ffa7eba
|
start on scuffed epa
|
2024-08-28 20:21:55 -05:00 |
|
|
|
2453ceb239
|
fixed skew & child entity interpolation (still drifting skew bug due to accumulated sin & atan2 imprecision)
|
2024-08-27 18:35:43 -05:00 |
|
|
|
4ce85c1bef
|
skew testing
|
2024-08-26 14:48:40 -05:00 |
|
|
|
86f1f1f6e0
|
start on scuffed gjk collision detection
|
2024-08-23 20:30:22 -05:00 |
|
|
|
c4dd372041
|
store and calculate mass from unscaled mass instead of density
|
2024-08-21 17:17:05 -05:00 |
|
|
|
c461956fb0
|
remove a debugbreak
|
2024-08-21 14:31:44 -05:00 |
|
|
|
10c9c833ba
|
better impulse & force application
|
2024-08-19 19:20:55 -05:00 |
|
|
|
4b10be1b17
|
specify arena when queueing game cmds from user thread
|
2024-08-19 13:32:30 -05:00 |
|
|
|
83b0b3f255
|
start verlet integration
|
2024-08-18 22:44:55 -05:00 |
|
|
|
0e658749b1
|
track key repeats in user binds
|
2024-08-15 16:18:14 -05:00 |
|
|
|
bd4e560f67
|
allow error in aim angle
|
2024-08-15 14:41:01 -05:00 |
|
|
|
38075e5efd
|
entity_prop_kinematic
|
2024-08-14 18:22:06 -05:00 |
|
|
|
2a357c127f
|
more bullet testing
|
2024-08-14 14:21:51 -05:00 |
|