You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
✅
mika
unitycoder
✅
mostly Unity related things (NOT affiliated or endorsed by Unity)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable PolygonCollider2D editor from script using Reflection (unity)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generating iOS P12 / certs without Mac OSX Keychain (on linux, windows, etc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've been working on the physics for a racing game for a while now, and (like many) struggling to get Unity's wheel colliders to behave themselves. I've recently taken some big steps forward, and wanted to share a couple of tricks I discovered along the way, some of them less intuitive than others.
Background : How Unity Wheel Colliders Determine Grip
If you've done anything with wheel colliders you'll already know about the forward and sideways Friction curves, which relate the amount of opposing force generated to the slip the wheel is experiencing. Skip this section if you're already comfortable with the theory of how they work. Or don't - you might be wrong! I was, no end of times.
Focusing on Sideways friction only, there are five values to configure: Extremum Slip, Extremum Value, Asymptote Slip, Asymptote Value, and Stiffness. There are easy-to-find diagrams illustrating the
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suddenly errors "Error (active) CS1061 'MainWindow' does not contain a definition for 'chkOpenOutputFolder' and no accessible extension method 'chkOpenOutputFolder' accepting a first argument of type 'MainWindow' could be found (are you missing a using directive or an assembly reference?)"
close vs, delete .vs folder, start vs, if still issues,
rename new .vs, undelete original .vs, now works!?
prebuild script to replace timestamp in Version.cs with current timestamp
public static string Stamp = "03-03-2024 12:04:05";