Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SUGGESTION] In game physics

#1
What ever happened to the ODE implementation that was already done for Nexuiz as a test? Would be definitely cool to have Wink

Otherwise... have you though about implementing the ragdoll hack found in Cube2 (not full physics), or had a look at the Bullet physics implementation found in the Quake2 derived Ya3Dag ( http://www.ya3dag.de/ ).
Not sure how easy it is to port something from Quake2 to Quake1/Darkplaces. I am assuming though that it is easier than a full reimplementation from scratch.
Reply

#2
If ragdoll physics are implemented (as a part of ODE?) we could use those instead of death animations, which would make a smoother experience (and less effort for modelers).
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply

#3
ODE is simply too slow as far as I know.

As for ragdoll animations, they are theoretically possible with csqc players with bone control in code.
Reply

#4
If you think ODE is slow, I guess you will not like a csqc implementation either since it is a interpreted language (10-20 slower than native C). Besides the quakec code doing this I have seen some time ago was horribly glitchy.

I think Bullet is a bit faster then ODE though, so that might be an good alternative.
Reply

#5
The problem of ODE is not being generally slow, but being slow in some "evil" cases (e.g. an object wedged between two other objects). Even when using ODE for gibs, these situations happen a lot.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#6
The way the gibs fly currently is already quite neat, so no real need for change there Wink

But why not limit the number of things ODE is used for? If for example only ragdolls and hmm maybe vehicle physics are done by it, it should probably eliminate most of the "evil" cases.

But IMHO a full physics integration is not really needed for a game like Xonotic anyways, so maybe having a look at the Cube2 ragdoll hack would be the better option?

Btw OT: Is the animation blending implemented in DP now?
Reply

#7
I like the idea to have ragdoll-physics in xonotic!
But only in the kills without gibs! (uzi, shotgun, rifle, nex/xon, laser, crylink, HLAC)
MY NOOB STATS:
[Image: 788.png]
Reply

#8
Is there no way to improve the performence ? Sad ode would be so amazing 8D
Reply

#9
Not really, it's a huge jump forward in terms of calculations, to have something that doesn't look bad.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#10
http://urre.quakedev.com/

it's in QuakeC and tested in DP. Still not fully featured, but if ported to client side QC it could be used for cool effects.
Reply

#11
(08-23-2010, 05:32 AM)poVoq Wrote: If you think ODE is slow, I guess you will not like a csqc implementation either since it is a interpreted language (10-20 slower than native C). Besides the quakec code doing this I have seen some time ago was horribly glitchy.

Twig is slower than ODE afaik, and the project is idle now.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#12
Necromancing Wink

Now that client-side QC animations blending at bone level is implemented and working, it might be worth looking into that TWIG lib again for ragdoll death-animation support Smile
Reply

#13
(04-03-2013, 01:49 PM)poVoq Wrote: Necromancing Wink

Now that client-side QC animations blending at bone level is implemented and working, it might be worth looking into that TWIG lib again for ragdoll death-animation support Smile

It's still slow as hell though.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#14
If it was just used for Ragdolls it would probably be not so bad... besides it could be an option in the menu for faster PCs Wink

P.S.: here is a working download link to the lib:
http://www.quakewiki.net/quake-1/mods/tw...arkplaces/
Reply

#15
Honestly, I don't know. As soon as you put constraints on the limbs, everything becomes complicated to compute.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [SUGGESTION] Single Player Tutorial Game(s) Space Ace 59 7,328 10-07-2018, 05:52 AM
Last Post: SpiKe
  [SUGGESTION] Relic Duels (game mode) munyul 7 1,728 02-11-2018, 11:38 AM
Last Post: Lyberta
  [FIXED] Handle non-ASCII characters on http://dpmaster.deathmask.net/?game=xonotic Antares* 5 1,644 06-27-2017, 06:41 PM
Last Post: -z-
  [SUGGESTION] Different Input Key Settings for different Game Modes Magician 1 1,375 03-07-2017, 10:41 AM
Last Post: -z-
  [SUGGESTION] Match making/game schduler end user 6 2,670 07-05-2016, 09:56 AM
Last Post: end user
  [SUGGESTION] Yet another physics and balance revamp Lee_Stricklin 3 1,799 04-28-2016, 04:14 AM
Last Post: Smilecythe
  [SUGGESTION] Lua scripting for the game? darkhog 2 2,116 09-05-2015, 05:33 PM
Last Post: TimePath
  [SUGGESTION] a sub-forum for user and game server admin communication BuddyFriendGuy 6 2,933 09-04-2015, 02:12 AM
Last Post: BuddyFriendGuy
  [SUGGESTION] A game package should contain all needed components kanatov 2 2,640 03-10-2015, 10:58 PM
Last Post: kanatov
  [SUGGESTION] Make game knowledge/info more obvious - i.e. tips Archer 7 6,558 01-21-2015, 02:03 AM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-