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.

DarkBASIC Discussion / Gravity on any object

Author
Message
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd May 2004 23:38
I was wondering. Has anyone actually found a code that allows the use of gravity on any object shape what so ever. Only i made a bit of code for my new project(an RPG) that lets you do just that. Its quite simple but i dont know if anyone else has it.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 5th May 2004 02:42
Depends upon the gravity you're talking about. If you're talking about true gravity, objects being attracted to each other, I haven't seen any of it.

If you're talking about just getting the guy to go down if he steps off a cliff you just need collision with the world and a force always pushing the object downward. Please post your code though, there's always a new wrinkle to everything, and we're interested to see what you've done.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 5th May 2004 03:19 Edited at: 5th May 2004 03:20
Wow! Interest.
The code is not completely finished. You'll Know when it is.
I'll be using it in my RPG which, come to think of it, I have'nt told
anyone about.

Yeah, I'll do that now.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 5th May 2004 10:00
Cool! Keep working!

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 5th May 2004 19:32
Will do!

Login to post a reply

Server time is: 2025-05-23 15:01:20
Your offset time is: 2025-05-23 15:01:20