[x3d-public] Gravity Sensor?
Roy Walmsley
roy.walmsley at ntlworld.com
Fri Apr 24 02:30:32 PDT 2015
Christoph,
In X3D the only place where forces, including gravity, can be included is in
the Particle systems component.
There isn't anything like a "gravity sensor". You have to take care of it
yourself. This could be done using external code and interacting through the
SAI. Alternatively, you could use a Script node to keep everything internal
to the scene.
>From your reasoning point d) I am assuming you are working with the
GeoSpatial component. What sort of things do you want to apply gravity to?
Roy
-----Original Message-----
From: x3d-public [mailto:x3d-public-bounces at web3d.org] On Behalf Of
Christoph Valentin
Sent: 24 April 2015 10:04
To: X3D Graphics public mailing list
Subject: [x3d-public] Gravity Sensor?
A few questions to the community.
Is there something like a "gravity sensor" in X3D/VRML?
Reasoning:
a) The Web3D Browser cares for gravity and collision detection, when
controlling the movement of the avatar.
b) However, when controlling the dynamics of an arbitrary object, I have to
care for gravity and collision myself
c) In classical scenes, the gravity is 9.81 m.s^-2 in -y direction, no
problem
d) But how to calculate gravity in an X3D-Earth scene? Don't we need a kind
of "gravity sensor" here?
_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org
More information about the x3d-public
mailing list