Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Wobbling Car? (includes nice screenshot!)

Author
Message
Oliver
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 20th Jun 2003 09:48 Edited at: 23rd Jun 2003 23:09
I remember reading that if you have a screenshot people are more likly to reply

Anyway, heres my problem:

I have created a bsp with an object moving around it.
The object has momentum using arrays (for example when you drive into a way the car still has momentum)
When I move into a corner that is smaller than 180 degrees the car starts to wobble, then, when you stop moving the car, it slowly stops wobbling.
I have tested it without momentum and it works. Does anyone have any idea as to how to stop it wobbling with momentum.

I have tried doing things like: if bsp collision hit(id)=1 then momentum=0, though it appears that an object is always touching a bsp.

-Oliver
Oliver
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 20th Jun 2003 10:16 Edited at: 23rd Jun 2003 23:09
Hmmm...No replies yet. Well then , heres another picture of the car wobbling...



Note: this is just a representation.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 20th Jun 2003 10:52
they're more likely to reply if you actually post code in the snippets forum, no?

I pride myself that i don't kill...
well not without a good reason
Oliver
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 20th Jun 2003 11:52 Edited at: 20th Jun 2003 11:54
Well yes... But I didn't because I don't think it's nescessary, and I'm also stingy .

However :-Y , in other words, how can I make the momentum value to zero (or perhaps negative to make it bounce back ) when it hits the bsp wall.

I tried doing this, though the car would not move at all.

Login to post a reply

Server time is: 2024-11-24 18:26:15
Your offset time is: 2024-11-24 18:26:15