Forum Topic: Physics

(840 views • 47 replies)

New Topic Post Reply

This topic is 2 pages long. [ 1 | 2 ]

<< < > >>
None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/25/09 06:12 PM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

At 10/25/09 05:51 PM, ThePeasant wrote: Oh! I forgot... you should also have:

const minValue=1;

if (Math.abs(vY)<minValue) vY=0;
if (Math.abs(vX)<minValue) vX=0;

with that in there, does it work?

You're forgetting that at the height of the bounce before it starts to fall the velocity is less than 1

Would rounding work?

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

Toast

Reply to Post Reply & Quote

Posted at: 10/25/09 06:13 PM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,924

At 10/25/09 05:43 PM, zrb wrote: I totally agree, these codes most likely won't help unless you understand the concept of physics. So stop wasting people's time and instead of whining for more codes you won't understand, grab some physics book and LEARN orjust wait a few years in school. Move on to something you can understand.

Physics book? To understand why a ball slows down in the air and then falls back to the floor when you throw it up? OP's problems are not in his physics studies, they are in his head. There's a difference between being retarded and lacking of physics knowledge.


None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/25/09 06:14 PM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

Toast, if you're just going to call me retarded then leave. What I need is help

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/25/09 10:46 PM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

uhym

bump

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

Toast

Reply to Post Reply & Quote

Posted at: 10/25/09 11:09 PM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,924

At 10/25/09 06:14 PM, 7IsUnlucky wrote: Toast, if you're just going to call me retarded then leave. What I need is help

You got way more than all the help you needed. The first reply to the thread had everything you asked for - a pseudocode instead of the real code so you could "understand" it on your own. You even got very long in-depth explanations by ThePeasant and some other people. How could you be asking for anything more just to make a ball bounce?


None

zrb

Reply to Post Reply & Quote

Posted at: 10/25/09 11:37 PM

zrb LIGHT LEVEL 11

Sign-Up: 08/08/06

Posts: 4,549

Lol Toast is on a owning spree :P
And he's right lmao.

School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature

None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/26/09 12:10 AM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

At 10/25/09 11:37 PM, zrb wrote: Lol Toast is on a owning spree :P

Sure he is.

It's people like you guys who are turning Flash into General

I need help with the bouncing. Can you two understand that?

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

tcc85811

Reply to Post Reply & Quote

Posted at: 10/26/09 12:32 AM

tcc85811 DARK LEVEL 03

Sign-Up: 10/12/08

Posts: 201

If you really want to understand physics, I suggest jumping off a builiding. Make sure it's high enough that you can reach terminal velocity.


None

zrb

Reply to Post Reply & Quote

Posted at: 10/26/09 12:40 AM

zrb LIGHT LEVEL 11

Sign-Up: 08/08/06

Posts: 4,549

At 10/26/09 12:10 AM, 7IsUnlucky wrote: He sure is.

I need help with using my brain. Can you two understand that?

fixed.

School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature

None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/26/09 12:47 AM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

At 10/26/09 12:32 AM, tcc85811 wrote: If you really want to understand physics, I suggest jumping off a builiding. Make sure it's high enough that you can reach terminal velocity.

fuck you

No one's posted anything useful for at least 10 hours

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

tcc85811

Reply to Post Reply & Quote

Posted at: 10/26/09 12:57 AM

tcc85811 DARK LEVEL 03

Sign-Up: 10/12/08

Posts: 201

At 10/26/09 12:47 AM, 7IsUnlucky wrote:
At 10/26/09 12:32 AM, tcc85811 wrote: If you really want to understand physics, I suggest jumping off a builiding. Make sure it's high enough that you can reach terminal velocity.
fuck you

No one's posted anything useful for at least 10 hours

you're joking right? everything you need to know has been posted MULTIPLE times. no, you can't be serious. i really hope you die before you have a chance to spread your seed, otherwise our enitre species is fucked.


None

kizza0

Reply to Post Reply & Quote

Posted at: 10/26/09 01:01 AM

kizza0 NEUTRAL LEVEL 08

Sign-Up: 10/13/07

Posts: 276

try have the velocity change due to bounciness equal to 0 if it is less than 1.

BOOM HEADSHOT

BBS Signature

None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/26/09 01:02 AM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

At 10/26/09 12:57 AM, tcc85811 wrote: you're joking right? everything you need to know has been posted MULTIPLE times. no, you can't be serious. i really hope you die before you have a chance to spread your seed, otherwise our enitre species is fucked.

where the fuck are mods when you need them

also, can you even read? I said people have posted usef

you know what? fuck it. you're too fucking thick to understand a word im saying

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

tcc85811

Reply to Post Reply & Quote

Posted at: 10/26/09 01:09 AM

tcc85811 DARK LEVEL 03

Sign-Up: 10/12/08

Posts: 201

the only thing i have trouble understanding is how much crack a pregnant woman has to smoke to have a child HALF as dumb as you..


None

7IsUnlucky

Reply to Post Reply & Quote

Posted at: 10/26/09 01:27 AM

7IsUnlucky FAB LEVEL 25

Sign-Up: 06/12/07

Posts: 1,965

At 10/26/09 01:09 AM, tcc85811 wrote: the only thing i have trouble understanding is how much crack a pregnant woman has to smoke to have a child HALF as dumb as you..

where the fuck are all the mods

Programming languages I know: AS2 and TRS-80 BASIC

BBS Signature

None

ThePeasant

Reply to Post Reply & Quote

Posted at: 10/26/09 01:50 AM

ThePeasant NEUTRAL LEVEL 08

Sign-Up: 08/30/07

Posts: 448

At 10/25/09 06:12 PM, 7IsUnlucky wrote:
At 10/25/09 05:51 PM, ThePeasant wrote: Oh! I forgot... you should also have:

const minValue=1;

if (Math.abs(vY)<minValue) vY=0;
if (Math.abs(vX)<minValue) vX=0;

with that in there, does it work?
You're forgetting that at the height of the bounce before it starts to fall the velocity is less than 1

Would rounding work?

I meant you should put that in the bounce code...
if (collides) then (reverse velocity and if less than 1, = 0)


None

kizza0

Reply to Post Reply & Quote

Posted at: 10/26/09 02:01 AM

kizza0 NEUTRAL LEVEL 08

Sign-Up: 10/13/07

Posts: 276

7isunlucky, people tried to help and you ignored/ criticized their responses even though they had the potential to help you. That is why you are being treated like a dick.

BOOM HEADSHOT

BBS Signature

None

36Holla

Reply to Post Reply & Quote

Posted at: 10/26/09 02:12 AM

36Holla DARK LEVEL 32

Sign-Up: 02/09/06

Posts: 11,098

At 10/26/09 02:01 AM, kizza0 wrote: 7isunlucky, people tried to help and you ignored/ criticized their responses even though they had the potential to help you. That is why you are being treated like a dick.

And that's why this thread's being locked. Not only for what you mentioned but also because a lot of other people don't seem to know how to show restraint when it comes to dealing with someone who's acting difficult or doesn't understand the responses. If they don't want the kind of help you're offering or you can't explain it in a way they can't understand then don't respond back with insults, or even at all. The people in this thread who posted help and tips and didn't resort to insulting the OP, keep up the good work. To those who did end up insulting the OP, that's not how to handle someone asking a question, no matter how they respond.

And to the OP, if what is being suggested isn't working or you don't understand it, come up with a better way to ask for clarification because you were coming off with an attitude that is not going to get you very far with help threads.

BBS/Review Moderator
PM me for BBS or review abuse.
Sig by THEJamoke "This are plastic"

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 06:38 PM

<< Back

This topic is 2 pages long. [ 1 | 2 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!