Commit graph

193 commits

Author SHA1 Message Date
Joe Ardent
ff64bbeff3 add wheels maybe 2023-01-24 23:04:33 -08:00
Joe Ardent
3e9b079b58 checkpoint 2023-01-24 19:50:33 -08:00
Joe Ardent
9b12967abd added wheelconfig struct and hooked in egui inspector 2023-01-23 22:21:16 -08:00
Joe Ardent
bf35c963b2 add debug cam orbit controls 2023-01-23 20:12:15 -08:00
Joe Ardent
9d2e41a971 add offset resource for debug camera 2023-01-22 21:06:08 -08:00
Joe Ardent
cf449d9e56 checkpoint 2023-01-22 16:10:59 -08:00
Joe Ardent
f65282bb08 fix PID code, fuckin' with shit still. 2023-01-21 19:51:01 -08:00
Joe Ardent
39c5ced896 update cameras and model 2023-01-20 23:33:21 -08:00
Joe Ardent
f7c1698602 fix camera placements 2023-01-20 23:05:43 -08:00
Joe Ardent
065af95aa0 fix light viz 2023-01-20 17:21:12 -08:00
Joe Ardent
efb70e16d0 fix cyberbike visibility 2023-01-20 15:07:37 -08:00
Joe Ardent
ca59748849 compiles 2023-01-20 14:40:51 -08:00
Joe Ardent
bd96c52f3a Update to Bevy 0.8. Not showing the cyberbike for some reason.
Physics is still probably fucked.
2022-08-13 15:30:37 -07:00
Joe Ardent
1579c3d972 Builds and runs, but physics is fucked. 2022-05-08 10:58:48 -07:00
Joe Ardent
413ac493df Add PID for pitch too. 2022-04-02 18:25:29 -07:00
Joe Ardent
c37cf0a6b1 tweak the constants 2022-03-21 16:04:06 -07:00
Joe Ardent
464e64f271 Minor tweak and update. 2022-03-15 18:39:59 -07:00
Joe Ardent
139b8af742 Add PID roll stabilizer. 2022-03-14 23:58:58 -07:00
Joe Ardent
f26226dcb7 Just some tweaks. 2022-03-14 15:30:45 -07:00
Joe Ardent
97c9b637ef Merge branch 'bike-fields' 2022-03-13 23:37:55 -07:00
Joe Ardent
0fc179596a Add more wheels and mass. 2022-03-13 23:37:11 -07:00
Joe Ardent
315f35e8e3 Adds "wheels" to cyberbike.
The `parallel` feature doesn't work with joints in Rapier.
2022-03-13 15:54:33 -07:00
Joe Ardent
8979660775 Major reorg, works like before.
Still need to add the child colliders for the "wheels".
2022-03-12 16:33:07 -08:00
Joe Ardent
10b9414989 Fail at adding joints, rename geometry module.
Time to move the dynamic geo into its own sitch.
2022-03-12 14:56:32 -08:00
Joe Ardent
474190118e Merge branch 'bike-fields' 2022-03-04 16:02:27 -08:00
Joe Ardent
b6fa54a99c Minor tidy. 2022-03-01 22:31:44 -08:00
Joe Ardent
93dd8bde92 Add debug camera and switching.
Debug camera is in front and off to the side.
2022-03-01 21:42:16 -08:00
Joe Ardent
2d950401dc Remove normals in setup for planet.
They get generated later in glamor.rs as flat normals on de-duped verts.
2022-03-01 20:52:31 -08:00
Joe Ardent
d068ba30db Fix overhangs in generated terrain. 2022-02-28 18:18:23 -08:00
Joe Ardent
dcdf11eeb9 Move bevy_rapier dep to git url instead of filesystem. 2022-02-28 15:32:04 -08:00
Joe Ardent
281d8b8050 Add feature to enable debug collider viz. 2022-02-28 15:14:38 -08:00
Joe Ardent
181110c309 Jesus, the cyber bike is fucking massive. 2022-02-27 16:18:26 -08:00
Joe Ardent
5b4b526aaf Make bike model, body, and collider explicit, add debug collider viz. 2022-02-26 23:31:01 -08:00
Joe Ardent
37e8e40c3f Move collider setup to separate file and plugin.
Just make more room in the actions file for fancier dynamic stuff.
2022-02-25 14:53:00 -08:00
Joe Ardent
b101d8bc15 Really really re-enable CCD. 2022-02-25 13:18:44 -08:00
Joe Ardent
79ddc3f951 Add drag, re-enable CCD for bike. 2022-02-24 23:20:29 -08:00
Joe Ardent
83af546e63 Disable CCD, embiggen world, increase FoV. 2022-02-23 17:38:24 -08:00
Joe Ardent
d36452569b minor tidy 2022-02-21 17:04:46 -08:00
Joe Ardent
a089f3da46 Add proper collision shape for displaced geo. 2022-02-21 15:42:44 -08:00
Joe Ardent
373fc30d56 High-perf wireframe for planet. 2022-02-21 13:08:49 -08:00
Joe Ardent
212d9daac9 Manually construct Mesh from IcoSphere to do noise displacement. 2022-02-20 12:40:42 -08:00
Joe Ardent
8000f1f5b8 Enable continuous collision detection and deterministic torque application order. 2022-02-17 22:41:13 -08:00
Joe Ardent
97c3d68a81 Update deps, get ready for making crazy terrain with noise. 2022-02-17 22:40:35 -08:00
Joe Ardent
2b51151e5f Update Bevy. 2022-02-15 14:54:56 -08:00
Joe Ardent
cd16490563 Just more physics tweaks.
Things are stable and it doesn't get its steering stuck, plus it spawns near the ground.
2022-02-13 13:58:49 -08:00
Joe Ardent
93d1db607a Tweak the settings. 2022-02-08 22:27:41 -08:00
Joe Ardent
8dc2f91fcf Merge branch 'rapier' 2022-02-08 22:01:30 -08:00
Joe Ardent
3cbdb522f2 Replicates old feel with Rapier-native code. 2022-02-08 22:00:05 -08:00
Joe Ardent
5e4ef7d5de Add input forces that don't work. 2022-02-08 13:27:57 -08:00
Joe Ardent
beb2298fe3 Use Rapier directly for collision handling and gravity.
Input still not working. Also, make the cybersphere transparent.
2022-02-07 20:28:06 -08:00