Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Simulation of Collisions in 2D [Mass, Friction and Velocity]


[img]http://d2vlcm61l7u1fs.cloudfront.net/media%2F690%2F690b5483-0775-4313-94ee-bb8b17cc7dbf%2Fphp3JxlKJ.png[/img]
Following example demonstrates the simulation of collision detection of two or more objects and how they react on impact using mass, friction and velocity vectors.



Github:
https://gist.github.com/TheBarret/f54d69...aa8883ebff
You really do have a weird desire for strange projects. It's a refreshing change. I'm just about to look at your code. Just one thing. Learn whata space bar is mate. Stacked lines of code with no xml documentation :(


There are lots of coding inconsistencies in your code. The way you write changes. A programmer should only have the One way he/she actually writes. As a whole, there is not much we can say here as it's just a class with no insight. Your naming can do with alot of work. be more use seeing a working example to see not class as is.

Whats with all your parentheses?
(Mar 14, 2018 11:10 AM)EdwardSn0wdent Wrote:  You really do have a weird desire for strange projects. It's a refreshing change. I'm just about to look at your code. Just one thing. Learn whata space bar is mate. Stacked lines of code with no xml documentation :(

Space bar? You mean return.
I will give you that. To much oxycodone(medical not a junkie) been typing words, I did not mean for the last week.
(Mar 14, 2018 11:20 AM)EdwardSn0wdent Wrote:  I will give you that. To much oxycodone(medical not a junkie) been typing words, I did not mean for the last week.

What do you mean you did not mean for the last week? Are you saying you regret harassing me?
Words as above. keep typing word's i am not meant to mean. It's a side effect of the drugs i am on. Last 4 weeks in the hospital, 2 and a half you will be happy was intensive care. Yeh, guess was hassling you a bit. I don't regret anything on the internet. It's not real to my life. But I am not going to follow you anymore.

You might dislike it or not, i am older than you. More experience. You seem to put more effort in than most here. But you seem to have a chip on your shoulder. 4 years is nothing. I can see you being a good member. But you need to stop picking or to be kind to. Why not show always your helpful side. Even if you googled it for them. Tell them. Thats a great feature of a programmer. You are showing them they could of made the effort.

I have never said you do not know anything. But you need to realize you are still very new. You show you are keen. Now show a better side of you.

I will leave it as that. Internet arguing is boring. Now is an oppertunity to see if you make the same regard to me.
(Mar 14, 2018 01:25 PM)EdwardSn0wdent Wrote:  Words as above. keep typing word's i am not meant to mean. It's a side effect of the drugs i am on. Last 4 weeks in the hospital, 2 and a half you will be happy was intensive care. Yeh, guess was hassling you a bit. I don't regret anything on the internet. It's not real to my life. But I am not going to follow you anymore.

You might dislike it or not, i am older than you. More experience. You seem to put more effort in than most here. But you seem to have a chip on your shoulder. 4 years is nothing. I can see you being a good member. But you need to stop picking or to be kind to. Why not show always your helpful side. Even if you googled it for them. Tell them. Thats a great feature of a programmer. You are showing them they could of made the effort.

I have never said you do not know anything. But you need to realize you are still very new. You show you are keen. Now show a better side of you.

I will leave it as that. Internet arguing is boring. Now is an oppertunity to see if you make the same regard to me.

🤣 ^^ side effect of the drugs <> ident
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by HardStoNMay 19, 2019 12:04 PM 10 355 May 19, 2019 12:04 PM
Last Post: HardStoN
[.NET] by Reznov80Nov 6, 2018 10:34 AM 0 129 Nov 6, 2018 10:34 AM
Last Post: Reznov80
[.NET] by VmX5Oct 14, 2018 04:05 PM 37 4,607 Oct 14, 2018 04:05 PM
Last Post: OffCode