branchrust_reboot/main/snowmobilecancel

460 Commits over 334 Days - 0.06cph!

2 Years Ago
Drive wheel slip var
2 Years Ago
Refactor snowmobiles into prefab variants of a common base. Add storage to the Tomaha.
2 Years Ago
Rearrange snowmobile files
2 Years Ago
More snowmobile setup
2 Years Ago
Tweak intertia tensor values
2 Years Ago
RetroSnowmobile set up, now driveable.
2 Years Ago
WIP other snowmobile setup. Colliders etc
2 Years Ago
Test map edit
2 Years Ago
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.
2 Years Ago
Move wheel friction from general car setting to per-wheel. Also spelling tyre the commonwealth way 🇬🇧
2 Years Ago
Wheel suspension edits
2 Years Ago
Hooked up wheel FX etc
2 Years Ago
Added icons and items for the two snowmobiles
2 Years Ago
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 Years Ago
Merge Main -> Snowmobile
2 Years 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.
2 Years Ago
Merge Main -> Snowmobile
2 Years Ago
Fix snowmobile seat prefab ID, adjust wheelcollider suspension, other WIP
2 Years 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.
2 Years Ago
Fix wheel calc on snowmobile too
2 Years Ago
Fixed modular car wheel method issues
2 Years Ago
Secret front wheels. Realmed remove setup.
2 Years Ago
Working on snowmobile physics
2 Years Ago
More snowmobile setup, MountMenuVisible code in BaseMountable, other bits and pieces
2 Years Ago
Remove debug lines
2 Years Ago
BillBTestMap edit
2 Years Ago
Merge Main -> Snowmobile
2 Years Ago
Minor edits
2 Years Ago
Fix project settings
2 Years 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.
2 Years Ago
DoPrepare run
2 Years Ago
Fuel and storage sub-ents
2 Years Ago
More wheel stuff
2 Years Ago
Wheel stuff
2 Years Ago
More snowmobile WIP. Compiling now
2 Years Ago
More WIP snowmobile code
2 Years Ago
WIP converting CarPhysics to be more generic, so snowmobiles can use it too. + some snowmobile code.
2 Years 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.
2 Years Ago
Merge Main -> Snowmobile
2 Years Ago
Rename ModularCarPhysics to CarPhysics
2 Years Ago
Snowmobile WIP code, protobuf setup etc
2 Years Ago
Merge Main -> Snowmobile
2 Years Ago
Manifest build, and prefab ID fix
2 Years Ago
Merge misc_improvements -> snowmobile
2 Years Ago
Merge MLRSUpdates and IntegrateVehicleSubEnts -> Snowmobile
2 Years Ago
Merge Main -> Snowmobile
2 Years Ago
More snowmobile setup
2 Years Ago
Snowmobile collider edit
2 Years Ago
Snowmobile detail colliders
2 Years Ago
Snowmobile wheel setup, and fix model direction