Commit graph

122 commits

Author SHA1 Message Date
Joe Ardent
e9fed1940e re-enable pitch stabilization 2023-02-21 13:25:55 -08:00
Joe Ardent
7fe4fbe423 silence lint 2023-02-21 12:47:50 -08:00
Joe Ardent
32db4fb383 working lean code 2023-02-21 12:47:24 -08:00
Joe Ardent
5aa7cde9aa so close 2023-02-20 23:14:02 -08:00
Joe Ardent
7ee27e61a5 smooth out the planet 2023-02-20 13:35:02 -08:00
Joe Ardent
e6407c13aa something is wonky, but it's kinda ok 2023-02-20 13:29:46 -08:00
Joe Ardent
9c196861a2 cherry-pick actiondebuginstant change from main 2023-02-20 12:25:43 -08:00
Joe Ardent
5378aef653 checkpoint adding lean mod to cat system 2023-02-19 21:21:07 -08:00
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