branchrust_reboot/main/snowmobilecancel

66 Commits over 244 Days - 0.01cph!

28 Minutes Ago
Fixing issues with terrain FX etc
1 Hour Ago
Fix wheel assignment, adjust wheel heights, remove unnecessary code
2 Hours Ago
Particle FX fix
3 Hours Ago
Fixed wheel FX direction
4 Hours Ago
Fix layer assignment on Tomaha colliders
4 Hours Ago
Remove excess Tomaha collider
4 Hours Ago
Drive wheel slip var
5 Hours Ago
Refactor snowmobiles into prefab variants of a common base. Add storage to the Tomaha.
Today
Rearrange snowmobile files
Today
More snowmobile setup
Yesterday
Tweak intertia tensor values
Yesterday
RetroSnowmobile set up, now driveable.
Yesterday
WIP other snowmobile setup. Colliders etc
Yesterday
Test map edit
Yesterday
Modify retro snowmobile collider mesh: - Split into two parts and fill in the gaps so it can be convex. - Limited dissolve to remove unnecessary verts + triangulate.
Yesterday
Move wheel friction from general car setting to per-wheel. Also spelling tyre the commonwealth way 🇬🇧
Yesterday
Wheel suspension edits
Yesterday
Hooked up wheel FX etc
Yesterday
Added icons and items for the two snowmobiles
Yesterday
WIP all sorts of work on wheel ground FX and general wheel/FX/suspension/steering kind of code. Various refactoring to share code between modular cars and snowmobile. Won't run right now, but at least compiles.
2 Days Ago
Merge Main -> Snowmobile
2 Days Ago
Snowmobile WIP terrain data and FX. Update modular car terrain system to allow sharing code etc. New ScriptableObject VehiclePhysicMatList holds the physic (sic) material data.
6 Days Ago
Merge Main -> Snowmobile
6 Days Ago
Fix snowmobile seat prefab ID, adjust wheelcollider suspension, other WIP
7 Days Ago
I investigated why snowmobiles constantly jitter but modular cars don't. Swapped parts around until I eventually determined that tall vehicles don't jitter, but short ones do. For instance, a modular car with only a flatbed would jitter, but a car with only a cockpit wouldn't, even if it used the flatbed entity script. Swapping the world colliders around made the difference. There are no bounds-based checks for vehicle physics in our code, so I looked at what Unity might set internally based on the collider setup. Rigidbody centre of mass was being set correctly, but we didn't set inertiaTensor. I've set an inertiaTensor here manually based on the one Unity calculated from a taller snowmobile, and it successfully removes the jitter. Ideally, we should do a similar solution for modular cars in case we ever add something like a low open cockpit, but I'll need to come up with a way of getting good inertia tensor values manually.
7 Days Ago
Fix wheel calc on snowmobile too
7 Days Ago
Fixed modular car wheel method issues
7 Days Ago
Secret front wheels. Realmed remove setup.
7 Days Ago
Working on snowmobile physics
8 Days Ago
More snowmobile setup, MountMenuVisible code in BaseMountable, other bits and pieces
8 Days Ago
Remove debug lines
8 Days Ago
BillBTestMap edit
8 Days Ago
Merge Main -> Snowmobile
8 Days Ago
Minor edits
8 Days Ago
Fix project settings
8 Days Ago
Set up snowmobile fuel and storage. Added a basic CanBeLooted check to BaseVehicle for vehicles to share. Other snowmobile setup. Set all seats to needsVehicleTick = false.
8 Days Ago
DoPrepare run
8 Days Ago
Fuel and storage sub-ents
9 Days Ago
More wheel stuff
9 Days Ago
Wheel stuff
9 Days Ago
More snowmobile WIP. Compiling now
9 Days Ago
More WIP snowmobile code
9 Days Ago
WIP converting CarPhysics to be more generic, so snowmobiles can use it too. + some snowmobile code.
9 Days Ago
- Changed some more GetWorldVelocity calls into GetLoalVelocity, so they'll work if parented. - Moved GetLocalVelocityServer and GetAngularVelocityServer rigidbody-based overrides into BaseVehicle, so we don't have to override with the same method for every new vehicle.
9 Days Ago
Merge Main -> Snowmobile
9 Days Ago
Rename ModularCarPhysics to CarPhysics
13 Days Ago
Snowmobile WIP code, protobuf setup etc
13 Days Ago
Merge Main -> Snowmobile
14 Days Ago
Manifest build, and prefab ID fix
14 Days Ago
Merge misc_improvements -> snowmobile