Commit graph

153 commits

Author SHA1 Message Date
Joe Ardent
f26226dcb7 Just some tweaks. 2022-03-14 15:30:45 -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
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
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
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
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
Joe Ardent
d793b6e986 Minor color tweaks. 2022-02-01 11:44:13 -08:00
Joe Ardent
3a1c4ebff8 Handle pitching the camera with controller. 2022-01-26 16:53:37 -08:00
Joe Ardent
2bd9506ca2 Drop light count to avoid panic.
There was a fix in the git version for this panic, but not in the latest release yet.
2022-01-26 14:26:02 -08:00
Joe Ardent
c11845db90 Use bevy_polyline to wireframe the big sphere. 2022-01-26 13:33:48 -08:00
Joe Ardent
f951b7b96b rename fn 2022-01-19 16:08:20 -08:00
Joe Ardent
c0227f4203 Remove dumb heron import. 2022-01-19 15:11:48 -08:00
Joe Ardent
5978191691 Re-org the lights, tweak the colors. 2022-01-19 15:07:24 -08:00
Joe Ardent
13543a6553 Blink moving lights' meshes on and off. 2022-01-18 22:20:58 -08:00
Joe Ardent
18032861d2 Get a bunch of lights to rotate. 2022-01-18 20:08:47 -08:00
Joe Ardent
cfc32a741f Minor tidy. 2022-01-17 13:40:31 -08:00
Joe Ardent
20f68b2bec Make the planet wireframe. 2022-01-13 22:05:51 -08:00
Joe Ardent
768bdf67ad More minor cleanup, remove pitch control, embiggen sphere. 2022-01-13 17:32:39 -08:00
Joe Ardent
4b0dc168be tweak 2022-01-13 16:54:43 -08:00
Joe Ardent
7de11bb8a9 Clean up Queries, add more Cyber. 2022-01-13 16:14:08 -08:00
Joe Ardent
6a79816968 Rename "physics" to "action", the better to go with lights and camera. 2022-01-13 14:28:44 -08:00
Joe Ardent
3ebe2f57ce Smarter vel zeroing. 2022-01-12 21:13:30 +00:00
Joe Ardent
483dc3f864 Refactor done, still works.
Mostly resisted the urge to add or change functionality. Checks clean and should have the foundation
for real game-focused devel going forward.
2022-01-12 00:22:20 -08:00
Joe Ardent
7ab0730dfd Put the camera behind the bike. 2022-01-07 00:45:05 -08:00
Joe Ardent
f53cd2f848 Add collision detection, reaction, and gravity. 2022-01-07 00:01:26 -08:00
Joe Ardent
2885be2003 Replace PlayerState resource with Component. 2022-01-07 00:01:26 -08:00
Joe Ardent
9a7b3b511a Corrects orientation for local up. Adds dbg ui for orientation.
Still using the model as the camera stand-in. Next up is enabling collision detection and gravity.
2022-01-07 00:01:26 -08:00
Joe Ardent
81c1a0e685 Add the bike model to the scene; shows rotation is messed up. 2022-01-07 00:01:26 -08:00
Joe Ardent
75870d0161 gamepad controls the camera 2021-12-24 18:07:09 -08:00
Joe Ardent
3f322ba0ea Shrink planet, get rotating visible lights near the surface. 2021-12-19 23:11:23 -08:00
Joe Ardent
0a9659f364 switch to bevy 0.5 for egui-inspector compat; get spinny lights 2021-11-07 23:58:43 -08:00
Joe Ardent
9e9292320f fix dumb keybind for move down 2021-11-05 22:53:46 -07:00
Joe Ardent
c7452bba11 replicates bevy_flycam demo 2021-11-05 22:32:55 -07:00