Commit graph

114 commits

Author SHA1 Message Date
Joe Ardent
3fc0a3e45c add lean resource 2023-02-19 20:54:17 -08:00
Joe Ardent
80e2a79de1 use rake angle for neck too 2023-02-19 16:28:26 -08:00
Joe Ardent
b6443e8cbe minor cleanups and tweak 2023-02-19 15:26:59 -08:00
Joe Ardent
d78e93b76a Move gravity management into RapierConfiguration resource.
Doesn't use external forces for gravity, which means that the wheels are now also affected by
gravity.
2023-02-19 15:25:14 -08:00
Joe Ardent
0f330283ee increase friction coefficients to more realistic values 2023-02-19 14:31:20 -08:00
Joe Ardent
c8358488c2 make speed display according only to forward velocity, not total linear vel 2023-02-19 14:21:41 -08:00
Joe Ardent
6fd2c17413 add comment about clear color for sky 2023-02-19 13:30:25 -08:00
Joe Ardent
faafb18e44 Merge branch 'smoothland'
This adds rake and trail to the front, as well as increases the density/mass of the wheels, while
adding that parameter to the WheelConfig.
2023-02-18 22:00:50 -08:00
Joe Ardent
757ce02df2 add density to wheelconf 2023-02-18 21:57:06 -08:00
Joe Ardent
3d2d413946 add 0.1 meters of trail to front wheel. 2023-02-18 20:35:05 -08:00
Joe Ardent
9e45aef7e4 checkpoint 2023-02-18 19:46:18 -08:00
Joe Ardent
507b82a771 add rake to front wheel 2023-02-18 17:03:33 -08:00
Joe Ardent
c41fc78b00 Scale the noise down a smidge on the landscape. 2023-02-18 13:49:44 -08:00
Joe Ardent
2933dca90e Tweak some physics, try to reduce pitch stabilization. 2023-02-18 13:49:06 -08:00
Joe Ardent
4a80554740 add pitch_scale for pid controller 2023-02-17 21:53:34 -08:00
Joe Ardent
9e63186aa5 be more brake-aggressive 2023-02-17 18:54:42 -08:00
Joe Ardent
6fd4f7c2e0 merge of physics from flatlander 2023-02-17 18:03:17 -08:00
Joe Ardent
c194120538 fix steering and braking 2023-02-17 17:30:53 -08:00
Joe Ardent
b42ebd7873 make wheels less protruding in config 2023-02-15 21:55:10 -08:00
Joe Ardent
4f60743192 has joint for steering, can't seem to control it 2023-02-15 17:53:46 -08:00
Joe Ardent
fd4155ceab remove dead code 2023-02-15 16:17:31 -08:00
Joe Ardent
14c346eb84 adjust tunnel fix for flatland 2023-02-15 15:10:33 -08:00
Joe Ardent
fa59a81f05 simplify wheels 2023-02-15 14:52:29 -08:00
Joe Ardent
d2961bd448 Add axels to the wheels. 2023-02-15 14:36:56 -08:00
Joe Ardent
421f34fab7 Bring in wheels from rolling2, and shorten the body collider. 2023-02-15 11:38:46 -08:00
Joe Ardent
18615e9ac8 checkpoint 2023-02-05 15:41:23 -08:00
Joe Ardent
e666c972ac quasi-merge from rolling_wheels 2023-02-05 14:59:41 -08:00
Joe Ardent
936e3591d1 tweak restitution 2023-02-02 23:05:43 -08:00
Joe Ardent
a5b9e549db fix de-penetrator 2023-02-02 17:26:28 -08:00
Joe Ardent
c7680227e3 Finish splitting up bike module, fix de-penetrator. 2023-02-01 16:32:20 -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
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