Things missing in the rigid body physics component...
- From: Joerg Scheurich aka MUFTI <rusmufti@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 7 Jan 2008 13:15:45 +0000 (UTC)
Hi !
There a two things, i miss in the X3D draft for rigid body physics component
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification_Revision1_to_Part1/Part01/components/rigid_physics.html
1) a way to restart a specific simulation
2) a way to set contactparameters like friction for other then all or
two objects
Did i overlooked something ?
Without 1) you can not build something like a game where you want to
reuse the missile/stone/bullet/etc. you fire/throw/shut/etc. against
your enemy.
Without 2) you will suffer from the N x N problem, if you have more than
one class of objects.
A example:
Imagine you want to simulate 10 boxes, 5 boxes are made of stone, 5 boxes
are made of steel.
You can handle the stone box <-> stone box contacts all with the parameters
in the "CollisionCollection" node, but you will need a "Contact" node for
each
stone box 1 <-> steel box 1
stone box 1 <-> steel box 2
stone box 1 <-> steel box 3
stone box 1 <-> steel box 4
stone box 1 <-> steel box 5
stone box 2 <-> steel box 1
stone box 2 <-> steel box 2
....
stone box 2 <-> steel box 5
....
....
....
stone box 5 <-> steel box 1
stone box 5 <-> steel box 2
....
stone box 5 <-> steel box 5
contacts. Additionally to this 25 Contact nodes, you need Contact nodes for:
steel box 1 <-> steel box 2
steel box 1 <-> steel box 3
steel box 1 <-> steel box 4
steel box 1 <-> steel box 5
steel box 2 <-> steel box 3
steel box 2 <-> steel box 4
steel box 2 <-> steel box 5
steel box 3 <-> steel box 4
steel box 3 <-> steel box 5
steel box 4 <-> steel box 5
Compare this 35 nodes with the 3 needed nodes, if you would be able to set
a "contactParameterName" (either "Steel" or "Stone" in this example) to
each X3DNBodyCollidableNode and would have 3 "ContactParameterGroup" nodes,
that handles the parameters for the "Stone/Stone", "Steel/Stone" and
"Steel/Steel" contacts.
so long
MUFTI
--
Das ist die Kerbausnahme grundsätzlich: 88 =, wenn ein Paket sich TCP oder
UDP befindet und wenn über einen Quell- oder einen Zielanschluss verfügt Sie
zulassen.
Knowledge Base ID: 253169 Version:6.0
.
- Follow-Ups:
- Prev by Date: ANN: OpenVRML 0.17.1
- Next by Date: compiling xj3d?
- Previous by thread: ANN: OpenVRML 0.17.1
- Next by thread: Re: Things missing in the rigid body physics component...
- Index(es):
Relevant Pages
|