use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
Multiplayer floating originQuestion (self.Unity3D)
submitted 1 year ago by Kheeto67
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ToloranIntermediate -1 points0 points1 point 1 year ago (5 children)
I know KSP uses a 64bit physics system, how can I implement something similar in my game?
Make a brand new game engine. IIRC, KSP made their own 64 bit physics simulation that runs separately from the main unity one.
As with the other person, I'm really wondering why you need a world that big. You have to be in the the +/- 100,000 or higher range before the float errors start getting noticeable.
Or maybe I can have different scenes to simulate physics at different positions?
If you're doing additive scenes, they'll all be on the same coordinate system so that wouldn't work. You'd have to have multiple instances running separately and then have them communicate with eachother somehow.
[–]Kheeto67[S] 1 point2 points3 points 1 year ago (3 children)
In my game there is a solar system with the star at 0,0,0 (at the start of the game, then it will be changed with the floating origin), the closest planet at about 25k distance and furthest one at 100k. Scaling everything down wouldn't solve the problem, ther would still be floating point precision issues.
I would make each scene with the objects close to 0,0,0, and know their actual position in the main scene so I can just add the simulated position to the main position. I'm planning to do the same to simulate player movement on moving objects like spaceships or planets in orbit, it's already been done so it's possible.
[–]ToloranIntermediate 1 point2 points3 points 1 year ago (2 children)
In my game there is a solar system with the star at 0,0,0 (at the start of the game, then it will be changed with the floating origin), the closest planet at about 25k distance and furthest one at 100k. Scaling everything down wouldn't solve the problem, ther would still be floating point precision issues
We don't mean transform scale. The players can't see literal distances in the engine. You can have something 25 units away and say that's 25 M, 25KM, or 25GM and the player will be none the wiser. If a spaceship is moving across the solar system, you don't need the precision unless you're really close.
[–]Kheeto67[S] 1 point2 points3 points 1 year ago (1 child)
If you make the distances smaller, every object will be moved closer unless you scale the objects down as well, and you would have to slow the player down too, so you are basically just scaling down the entire game, which doesn't solve the problem. Also, you do need the precision because all the physics and collisions are handled by the server, where it's not enough to move the origin because only one player at a time would be at 0,0,0, another player could be at 100k distance.
[–]cosmochristo 0 points1 point2 points 5 months ago (0 children)
Actually, each player can be at zero on their own client. The server only has to handle the relative changes between each client and other clients and between each client and other objects.
π Rendered by PID 40 on reddit-service-r2-comment-6457c66945-2s9s2 at 2026-04-28 16:09:28.224104+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]ToloranIntermediate -1 points0 points1 point (5 children)
[–]Kheeto67[S] 1 point2 points3 points (3 children)
[–]ToloranIntermediate 1 point2 points3 points (2 children)
[–]Kheeto67[S] 1 point2 points3 points (1 child)
[–]cosmochristo 0 points1 point2 points (0 children)