Andr3wHur5t Posted January 6, 2010 Posted January 6, 2010 Hi, i am trying to to make a MMO space game and need to know is it possable to have gravity per entity Quote Tools: AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro Programing & Scripting Languages: C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby
Laurens Posted January 6, 2010 Posted January 6, 2010 I don't think so. You can only set the gravity on a per-world basis. Quote
macklebee Posted January 6, 2010 Posted January 6, 2010 no you can do it per entity as well... SetBodyGravityMode Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Paul Thomas Posted January 6, 2010 Posted January 6, 2010 Only a on/off switch though. Almost reads like he means gravity amount per entity. Quote
Canardia Posted January 6, 2010 Posted January 6, 2010 In space you should set the world gravity to 0/0/0. Then you make a AddBodyForce loop around each planet, so they will drag objects towards them. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■
Andr3wHur5t Posted January 7, 2010 Author Posted January 7, 2010 ok thanks if you have any more ideas pls post Quote Tools: AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro Programing & Scripting Languages: C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby
TylerH Posted January 7, 2010 Posted January 7, 2010 Use Havok. Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer -----
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.