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.

Author
Message
Beyond the Humans Knowledge
15
Years of Service
User Offline
Joined: 27th Oct 2010
Location:
Posted: 24th Dec 2010 07:01
I do not have darkphysics, therefore, is there anyway to implement gravity with this code im using right now?



onhcet d(-_-)b techno
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 24th Dec 2010 10:45
There are a lot of examples of how to impliment gravity on the forums. Rather than spend 20 minutes explaining and then spark off the same old arguments about the 'best way' I'll point you to the "Search" feature at the bottom of the page.

Type "gravity" then hit the "Search" button. Trust me it's the best way to find an answer to most questions here!

Beyond the Humans Knowledge
15
Years of Service
User Offline
Joined: 27th Oct 2010
Location:
Posted: 24th Dec 2010 18:39
well i did that and i do find some, but all of them have pieces of other peoples codes and i don't feel like finding the variables for those functions.

onhcet d(-_-)b techno
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Dec 2010 21:18
Well, I'm afraid it won't be easy to be lazy on this one...

If you are using gravity you will most likely need to use a collision system. I would suggest sparky's (free) dll. Search for "Massive Collision" and you'll get the 'massive collision' resource. From there you'll find lots of tutorials and download links. If you choose sparky's you'll find a full collision plugin with some examples of how to impliment 'sliding collision' using gravity.

That's some pretty good advice, unless anyone wants to fully impliment a system you might not want into your code...

Login to post a reply

Server time is: 2026-07-21 20:35:21
Your offset time is: 2026-07-21 20:35:21