I try to hop on/off to/from animated objects in my X3D scene by
binding a viewpoint that is animated together with the object. The
trigger is the isActive field of a proximity sensor that is animated
together with the object, too.
In the roller coaster project I used Octaga Player and had quite
success by setting jump="false" in the viewpoint's attributes.
Now I do it for a multiplayer scene and use BS Contact && BS
Collaborate, but setting jump="false" does not help. When I enter the
object, the proximity sensor fires isActive="true" and the animated
viewpoint is bound, BUT position and orientation are reset to the
origin of the viewpoint.
Had anyone similar problems, and how can they be solved?
Kind regards
Christoph
1. bind to viewpoint always moves you, but jump true means dont
animate the move.
2. bind to viewpoint just changes your 'home', jump true means go to
it now, jump false means dont move, but a reset will then move to the
new viewpoint.
number one the simple 'obvious' one is incorrect, while number two,
the hard to understand but useful one it the correct one.
if you want x-browser stiff you'll need to forget about jump, leave it
true then these are the same.
BTW do you realise that you will move with whatever you are standing
on?
Thanks for the information. Seems to be a blocking point for "virtual
model railroad". Would be nice to enter/exit a wagon or a locomotive
by just-plain-moving. Have to think about workaround or having some
browsers non-supported :-(
isn't this what you want?
Maybe my English isn't fit enough to catch everything you mean.
Yes, I would like to enter a wagon or locomotive as realistic as
possible: approaching on the platform. Click the door, door opens,
pressing "cursor up", moving through the door, stepping up the stairs
--> now viewpoint of the wgon will be bound --> but I don't like to be
moved to a default viewpoint within the wagon "jumping into the
wagon".
Workaround could look like: have a button on the wagon: "Enter" ->
touch sensor -> viewpoint will be bound with jump="true" --> find
myself at the wagons default viewpoint.
Problem: Leaving the wagon --> bind which viewpoint?
have to sleep a round, before thinking more about it.
what i mean is, do you need any viewpoints?
when you are standing inside the wagon, and it moves, you will move
with it anyway.