info-inventor-dev
[Top] [All Lists]

Re: Updating states!

To: kla@xxxxxxxxxxxxxxxx (Arvind Lakshmikumar)
Subject: Re: Updating states!
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Sun, 4 Mar 2001 21:33:52 -0800 (PST)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.30.0103042313180.10497-100000@xxxxxxxxxxxxxxxx> from "Arvind Lakshmikumar" at Mar 04, 2001 11:17:30 PM
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Sun Mar  4 20:17:30 2001, kla@xxxxxxxxxxxxxxxx wrote:
> 
> Hello,
>   I had posted a query y'sday about updating object states in inventor. I
> saw the calculator example. I need to do something similar to that(plan a
> path). Only difference is that my path has already been computed and I
> have  3 floats that give me the objects coordinates.
> I have an initial position (x,y,0) and a set of positions(floats). I tried
> to use the Calculator engine but couldn't get it to work. Since I don't
> have a time or any other counter, what do I give to
> calcXZ->A.connectFrom(...)

Use a SoAlarmSensor ... when it fires, change the object's coordinates. See
12.3.AlarmSensor.c++ for details.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

<Prev in Thread] Current Thread [Next in Thread>