Commit graph

114 commits

Author SHA1 Message Date
Joe Ardent
8e1bae82a6 Merge branch 'main' into rolling_wheels 2023-02-02 17:30:12 -08:00
Joe Ardent
a5b9e549db fix de-penetrator 2023-02-02 17:26:28 -08:00
Joe Ardent
1d9ba17911 update deps 2023-02-02 17:26:04 -08:00
Joe Ardent
ce6f6242c0 merge wip rolling_wheels 2023-02-01 16:39:40 -08:00
Joe Ardent
c7680227e3 Finish splitting up bike module, fix de-penetrator. 2023-02-01 16:32:20 -08:00
Joe Ardent
bca40ea15c remove old license 2023-02-01 14:32:17 -08:00
Joe Ardent
9c6f9a55cb Add readme and license option from wheels branch. 2023-02-01 14:29:32 -08:00
Joe Ardent
71a91da77a Add readme and license option. Break bike module up. 2023-02-01 14:27:35 -08:00
Joe Ardent
7efa0a8ab2 Add system to de-intersect wheels and planet surface. 2023-01-30 16:05:42 -08:00
Joe Ardent
79b2d4b175 break up action module, actually do real for real PID 2023-01-29 17:02:16 -08:00
Joe Ardent
b9d49f6e1c use real PID for stability control 2023-01-29 14:53:47 -08:00
Joe Ardent
99d58cbcac checkpoint 2023-01-28 22:10:21 -08:00
Joe Ardent
ec2a99e239 Merge branch 'two-wheels-good' 2023-01-28 18:37:48 -08:00
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