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 Professional Discussion / Graviting object.

Author
Message
AlexJo
14
Years of Service
User Offline
Joined: 21st Aug 2011
Location: Ghidighici, Moldova
Posted: 14th Oct 2011 20:50
How to gravity any object in dark basic? in examples ( help - examples) is example with terrain, but want to gravity any object. can you help me?
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 15th Oct 2011 00:15 Edited at: 15th Oct 2011 00:16
Here is the most basic example that comes to mind:



Note that the Y axis is up.

Next time you need any assistance, have a look in the snippets, codebase or newcomers section. There are also some tutorials on my site.

Login to post a reply

Server time is: 2026-07-11 14:36:28
Your offset time is: 2026-07-11 14:36:28