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 / Ball Physics

Author
Message
Whisper Wind
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 17th May 2003 23:26 Edited at: 17th May 2003 23:28
I've tried very hard to create good looking ball physics for my game, but without knowledge of any complicated math it is impossible for me to create good physics. Here is what I tried so far:




It is full of random rems though because I used some one else's code for the collision and haven't modified them or created any new rems. You can sit back and watch the ball roll around or control it with left and right arrow keys and the sace bar. Either way, you'll see that the physics are lacking. Does anyone have some ball physics they could dig up for me? Thanks.
Whisper Wind
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 17th May 2003 23:29 Edited at: 17th May 2003 23:30
Oops here's the source. Stupid code box.
Attreid
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 18th May 2003 11:04
I can't launch it with dbp, there's a problem at line 191 (c. out of place)
and with dbc, there's a problem at line 37 (angle)

Bu$herie
How many civilians is he going to kill ? he's going to burn in hell, and I hope that his pain will make him inderstand !
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 18th May 2003 12:57
I've made it DBC friendly - see source tab.

Nice little demo, would be nice if someone could add more realistic physics like you say.

Thanks in advance.
All the Best,
StevieVee

Login to post a reply

Server time is: 2024-09-20 09:43:23
Your offset time is: 2024-09-20 09:43:23