c5922bf2b7
print edge -> face
2025-12-15 13:03:05 -08:00
ff990e1d9f
the message prints when you fall through the log
2025-12-12 14:51:38 -08:00
e4f3418bc6
document PhysicsMesh
2025-12-11 09:36:21 -08:00
6ca6d5e484
expect dead code
2025-12-10 18:05:16 -08:00
730c5fb7dd
common: integer: generic zero
2025-11-22 08:47:16 -08:00
d1b61bb997
push_solve: remove epsilon
2025-11-21 10:52:34 -08:00
0343ad19cf
MeshQuery::hint_point returns any point inside the mesh
2025-11-20 10:59:08 -08:00
43210b1417
less access to TouchingState private fields
2025-11-19 13:39:07 -08:00
e9d28cf15f
document jank
2025-11-19 13:15:31 -08:00
452bac4049
change collision_end_contact & collision_end_intersect fn signatures
2025-11-19 10:57:44 -08:00
48aad78f59
change contact_normal function signature to reduce copies
2025-11-19 10:20:33 -08:00
d45a42f5aa
change ContactCollision struct layout
...
Match TouchingState contacts HashMap K,V layout to try to get lucky with compiler optimization.
2025-11-19 10:20:33 -08:00
c219fec3bc
specialize touching member access
2025-11-19 10:08:40 -08:00
2a05d50abb
check touching before testing collision
2025-11-19 10:08:40 -08:00
fbb047f8d4
combine call chain
2025-11-19 09:01:51 -08:00
c4d837a552
Fix infinite loop with intersects when allowing 0s collisions
2025-11-19 09:01:51 -08:00
a08bd44789
Generic ConvexMeshId
2025-11-19 09:01:51 -08:00
4ae5359046
rename not_spawn_at to is_not_spawn_at
2025-11-19 09:01:27 -08:00
15ecaf602a
deep match
2025-11-18 12:29:46 -08:00
1e0511a7ba
remove intermediate allocation
2025-11-18 12:23:05 -08:00
98069859b5
Gracefully handle 0 acceleration for walking targets
2025-11-18 19:47:04 +00:00
64d3996fa9
use From instead of Into
2025-11-18 11:46:32 -08:00
49c0c16e35
Use a From implementation instead of manual conversion
...
If the contacts and intersects map ever change in the future to not be 1:1 with gaps but instead something else, this guarantees that this implicit use of the relationship will flag at a compiler level
2025-11-18 19:25:44 +00:00
255bed4803
Ensure the PhysicsData's bvh respects the original model ordering
...
There's no importance in worrying about the core HashMap ordering since it's not used as an iterator except for outside of this very function for bvh purposes
2025-11-18 19:25:44 +00:00
128e137829
remove redundant code
2025-11-17 13:22:46 -08:00
f6f35c5f54
fix lints
2025-11-17 12:41:34 -08:00
7e49840768
it: set gravity to 0
2025-08-29 19:06:51 -07:00
b0365165e8
physics: create iterator over internal instructions
2025-08-29 18:30:18 -07:00
6509bef070
it: add test scene
2025-08-29 16:47:46 -07:00
55d4b1d264
physics: PhysicsData is immutable after construction
2025-08-28 16:37:48 -07:00
ea28663e95
physics: move code
2025-08-28 16:02:23 -07:00
bac9be9684
physics: add edge case tests
2025-08-28 14:49:36 -07:00
602b63e953
fix lifetime lints
2025-08-26 15:55:55 -07:00
6abe622885
fix dead code lints
2025-08-26 15:55:55 -07:00
9db39d2a62
physics: face crawler opti
2025-05-23 14:40:06 -07:00
9e2e1d9d4a
it: add physics bug tests, use cargo test -- --ignored
2025-05-22 15:37:10 -07:00
b6d6878137
physics: body double clone/copy fixups
2025-05-14 18:15:26 -07:00
81c9e3470b
physics: use Bounds
2025-05-14 18:15:26 -07:00
8698ca4a7e
integer: time bitshift operations
2025-05-14 17:26:41 -07:00
8f04953326
physics: simplify face crawler trait bound
2025-05-14 16:52:51 -07:00
ae81d8ceaf
derive Debug for many structs
2025-05-14 16:52:51 -07:00
2ecaeb1615
physics: test_collision_small_mv
2025-05-14 13:51:14 -07:00
768cd4ad1a
physics: deref can be coerced
2025-05-13 17:26:10 -07:00
708462441a
physics: clean up PhysicsMesh generation
2025-05-13 16:08:51 -07:00
da3ab52fe0
physics: do not require complete_mesh as first submesh
...
This removes a silent assumption about the input meshes and moves the branching from submeshes() to complete_mesh()
2025-05-13 15:45:30 -07:00
217f7fd7c3
physics: recalculate acceleration in collision_{start|end}_intersect
2025-05-09 20:56:42 -07:00
1e4d98f386
physics: use scratch vector in vert_edges
2025-05-09 20:56:42 -07:00
6e6bafe719
use .entry() match in generate_models
2025-05-02 19:36:34 -07:00
2ed01dffbd
physics: TODO
2025-03-20 18:28:15 -07:00
55ff199269
physics: [BUG 6] update move state on collision end with non-walk contact while walking
2025-03-20 13:32:52 -07:00