This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > VRML > May 2005 > How to sense a object!?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to sense a object!?
|
|
| sunnewton 2005-05-23, 4:21 am |
| Hi,
I am building a virtual forklift with VRML, I've got a big problem
recently, How can my forklift lift up a object? Since there is no
object/object sensor in VRML, I wonder how can the object find the fork
is under it and when the fork lift up it can lift up with it?
Is there any Event when two ojects touch each other?
Thanks a million!
| |
|
|
sunnewton wrote:
> Hi,
>
> I am building a virtual forklift with VRML, I've got a big problem
> recently, How can my forklift lift up a object? Since there is no
> object/object sensor in VRML, I wonder how can the object find the
fork
> is under it and when the fork lift up it can lift up with it?
>
> Is there any Event when two ojects touch each other?
>
> Thanks a million!
yes well, this fairly obvious use of VRML seems to of been missed by
the spec writters, they didn't give you a standard event like this, and
to make things worse, a big ommision in my opinion, you don't even have
an cumulative position event out from a transform node, that you might
test against the position of objects, this means its all down to
scripting, and there are a hundred ways you might do it.
| |
| Joerg Scheurich aka MUFTI 2005-05-24, 7:46 pm |
| >> I am building a virtual forklift with VRML, I've got a big problem
> fork
By calculating where the fork and calculating, where the object is ?
[color=darkred]
> to make things worse, a big ommision in my opinion, you don't even have
> an cumulative position event out from a transform node
Not needed. That's why you have the ProximitySensor for
http://www.csv.ica.uni-stuttgart.de...messurement.wrl
so long
MUFTI
--
Fuer CPUs von 150 mm bis 250 mm Breite.
(Aus einem Katalog fuer EDV-Zubehoer)
| |
|
| this is not WHY you have a ProximitySensor, its actually for reacting
to the closeness of the avatar.
but ProximitySensor can be bastardised to get round the lack of proper
support.
| |
| simon 2005-05-29, 11:24 pm |
|
sunnewton wrote:
> Hi,
>
> I am building a virtual forklift with VRML, I've got a big problem
> recently, How can my forklift lift up a object? Since there is no
> object/object sensor in VRML, I wonder how can the object find the
fork
> is under it and when the fork lift up it can lift up with it?
>
> Is there any Event when two ojects touch each other?
>
> Thanks a million!
yes well, this fairly obvious use of VRML seems to of been missed by
the spec writters, they didn't give you a standard event like this, and
to make things worse, a big ommision in my opinion, you don't even have
an cumulative position event out from a transform node, that you might
test against the position of objects, this means its all down to
scripting, and there are a hundred ways you might do it.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|