Commit graph

101 commits

Author SHA1 Message Date
Joe Ardent
c04fb9fa11 remove 'CyberBikeModel' marker component 2023-01-28 16:57:44 -08:00
Joe Ardent
e524decd38 got two wheels working pretty good
next step is to make the wheels have friction and to rotate
2023-01-28 16:46:24 -08:00
Joe Ardent
2436e27290 try interpolating more transforms, no dice 2023-01-26 22:28:28 -08:00
Joe Ardent
4708eabdd9 ok, the wheels keep going through the planet and getting stuck
I'm going to need to do like raycasting from each wheel or something to do this right.
2023-01-26 17:16:05 -08:00
Joe Ardent
e79661b7db tweakity-tweak 2023-01-25 17:39:32 -08:00
Joe Ardent
1b559f3d44 don't show the inspector unless inpsector is configured 2023-01-25 17:18:49 -08:00
Joe Ardent
651f471b97 add feature to enable/disable rapier debug render 2023-01-25 17:10:23 -08:00
Joe Ardent
738dd6569a shut the linter up 2023-01-25 15:35:28 -08:00
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