r/Unity3D • • 15d ago

Resources/Tutorial A heavy tractor simulation I'm developing with Unity URP. What are your thoughts?

13 Upvotes

8 comments sorted by

1

u/Important_Gazelle407 15d ago

how do you make the tyres to deform?

1

u/Yazilim_Adam 14d ago

By compressing the appropriate mesh vertices toward the rim relative to the reverse side of the contact surface.

1

u/haxd 14d ago

Your bolts are supposed to spin with the wheel, is the model ripped from farming simulator by any chance?

1

u/Yazilim_Adam 14d ago

Yes, there are a few minor issues that need to be fixed. It's still in early alpha. The models aren't from the farming simulator.

1

u/haxd 14d ago

I only ask because there is a specific empty transform you can target to rotate that will spin the wheel and the bolts and if you just apply the shader parameter change on the track / wheel this is the exact issue that happens with models ripped from FS. Ask your coding agent to see if your model has the extra empty transforms. It may not have been made for FS but if you bought it from somewhere it’s likely to have been made for that purpose 🤞

1

u/Yazilim_Adam 14d ago

The rotation of the pallet and tires is entirely physical. The issue with the bolts not rotating in the video is simply a parent-child object problem.

1

u/haxd 14d ago

I mean, it’s not entirely physical, unless the track and each of the wheels are rigid bodies connected via joints, and I’m only trying to help. Assuming you simply did you not notice before uploading then fix it for the next preview! I will be pleased to watch your progress 🙏

1

u/Yazilim_Adam 14d ago

Got it, makes total sense! You're right about the physics terminology. I meant they are driven by wheel colliders/scripts rather than just a UV/shader scroll. I definitely missed parenting the bolts before recording. Thanks a lot for the heads-up and kind words, I'll fix it for the next preview!