Комментарии:
Hello, I want to make a solar System but I understant why do you increased the earth mass by 15 ?
ОтветитьIs there any way to download the assets directly? Someone please reply
ОтветитьWOWOWOWOW!
Ответитьthank you for this great tutorial.. merci
ОтветитьI can't get the moon to orbit the planet
ОтветитьDo you think blender is better than Unity in rendering solar system?
ОтветитьWhere can i find a 3d models like These planets and the sun are wonderful
ОтветитьWhat if i dont have the transform.right, how could i do the same thing?
ОтветитьExcellent tutorial, thanks! I got it working in Unity 2021.3.24f1 but my code is identical to yours and all the RigidBody mass settings and I turned off "use gravity" as you did, but the Earth takes off on a long comet like orbit. I had to multiply the initial velocity by 0.7 to get a perfect circle, which is weird. I just realized 0.7 is 1/sqrt(2), and indeed adding 2*r solved it and makes it work, but your code didn't have that and your code matches Wikipedia. Weird. Thanks for all the other cool tricks with TrailRenderer and speeding up project time.
ОтветитьA beautiful simulation with physics formula on Unity, beautiful !
I'll reproduce your code I guess. And after that, I'd like to add code to simulate planetary rings (or proto-solar disc, or accretion discs), like Saturne, Jupiter...
In realtime, is the G float member different for each celestial ?
Ответитьi love it
ОтветитьAs expected, it doesn't work. Oh well, another tutorial fail.
ОтветитьWhoah, this is awesome!
Thank you! Super video, it is short, explaining a lot, and have clear demostration!
Greetings. I followed your tutorial for the shader graph star and this one for the orbits. However, my planets are not dynamically lit. Could you do a video on lighting in Unity or recommend any good ones. Soulcraft looks good, btw. Hope to see it released soon. Thanks.
ОтветитьThank you for the video!
Ответитьur code working so good uhm how can i ask.. can i use this my education project?
ОтветитьTy so much for the tutorial, helps a lot
ОтветитьIt's so cool! Thank you very much!
ОтветитьVery useful video!
It would be interesting to see what could be done from this project
Cool stuff! However, there is an error in the formula for velocity in an elliptical orbit. The (2/r + 1/a) should be (2/r - 1/a). Also, on the distance scale chosen, the earth and the sun would be fifty times smaller.
Ответитьinstead of the planet moving towards the sun, the sun is moving towards the planet in the gravity part. cud u pls lend a hand
ОтветитьAwesome stuff, how can I make the planet movements significantly slower but still make it work? new to coding sorry lol
ОтветитьWhy is your channel so small?
Great content!
You deserve so many subscribers, i can understand something so complex in just some minutes, that is amazing!
Congratulations.
Err i don't mean to be pedantic but i don't see Unity Physics being used here and i'm presuming this is using the built-in Physx physics engine?
ОтветитьI get " operator '.' cannot be applied to operand of type 'void' " error message :/
ОтветитьHi, could you make a tutorial to make the orbit in the shape of an ellipse? Very good tutorial by the way.
ОтветитьHey man, I have gotten it to work with the circular orbit! However for the elliptical it's not working. Seeing as this solar system is scaled down, what values do I need to use for the values: 2, 1, a in this part of the equation -> (2/r - 1/a)?
ОтветитьNice tutorial, really thanks. But you have something about a 'HUGE' system star, Solar or, at last, what is the best way to do it without broke the engine (because this size of a space, planets, etc)?
ОтветитьAmazing video, I've been looking for something like this for a while. Just what i needed.
ОтветитьHonestly this is the best tutorial about this topic
Ответитьthank you, that helped me so much to figure some problem with my project, would it be possible to make a video on how to predict the trajectory of a planet with a linerender or something?
ОтветитьJust wondering why did you add two foreach loops. I am sure there is a good reason, but I just cant figure it out and I am trying to learn C# so was curious.
Ответитьhi , nice video but i have a question - when using urp my textures dont apply to my object. any solution please??
Ответитьhi this was a wonderful tutorial but im having a problem where after i added more planets the sun started to wander. like it wanders in a straight line and pretty fast too. i get that it gets pulled a little by the other planets but it's literally wandering to a whole nother galaxy
Ответитьhi! this is a awesome tutorial, im making my own solar system simulation too, can i get the codes and the mass tables from somewhere?
Ответитьthanks life saver. < 3
ОтветитьI dont know if this is just me but my planets like to go out of orbit and shoot off into space.
Ответитьcould you project shadows and add a fixed pov from earth surface? Even without earth rotation on its axis, to see the Moon phases? That would be amazing...
ОтветитьI luv you.
ОтветитьThank you soooo much!!
ОтветитьI knew the formuals and everything but wasn’t ready to implement it but after seeing your video I got the faith in myself to implement it and now I have my own solar system.
ОтветитьSo I have a weird problem with the velocity. When I add the velocity part to the script my earth just flies away. I copied the script line for line. Any idea why this is happening to me?
Ответитьr u scientist ? dude u rock !
ОтветитьI followed the gravity script but when i compile the script i get two errors saying ';' and '{' I double checked everything and nothing is working
Ответитьquick tip - I think if you press Shift+F it will lock on to your selected gameobject in Scene view, so you don't have to manually scroll the screen with your mouse
ОтветитьNice video.
Is deformation of planet w.r.t the nearest Celestial possible?
Like if a planet goes near the sun, it will deform and vapourise.