> On 4/8/2012 9:16 PM, Collin Stowell wrote: >> Does EZScript have the capability of determining an objects X,Y,Z >> locations within the OWL environment?
>> Thanks! > I think it does but I couldn't tell you how. Best to ask on the forum > or look in the EZScripe documentation
Michel is correct, you can definitely use the GetCellPosition() command. I've been thinking a bit about this method lately, and I'm wondering if I can make it better. Some of my ideas are:
> Michel is correct, you can definitely use the GetCellPosition() command.
> I've been thinking a bit about this method lately, and I'm wondering if I
> can make it better. Some of my ideas are:
>> Michel is correct, you can definitely use the GetCellPosition() command. >> I've been thinking a bit about this method lately, and I'm wondering if I >> can make it better. Some of my ideas are:
> >> Michel is correct, you can definitely use the GetCellPosition() command.
> >> I've been thinking a bit about this method lately, and I'm wondering if I
> >> can make it better. Some of my ideas are:
> >> Michel is correct, you can definitely use the GetCellPosition() command.
> >> I've been thinking a bit about this method lately, and I'm wondering if I
> >> can make it better. Some of my ideas are:
> > >> Michel is correct, you can definitely use the GetCellPosition() > command. > > >> I've been thinking a bit about this method lately, and I'm wondering > if I > > >> can make it better. Some of my ideas are:
Thank you jW, I was having such a difficult time getting EZScript to
build on linux. In response to your earlier post I believe these two
would be most useful:
> Attached is the latest build of EZScript from Friday. In the future, you
> can find subsequent versions in the wonderland-modules/unstable directory.
> warm regards,
> jW
> On Sunday, April 15, 2012 1:27:39 PM UTC-5, Collin Stowell wrote:
> > Also, where can I get a hold of the latest EZScript build?
> > > >> Michel is correct, you can definitely use the GetCellPosition()
> > command.
> > > >> I've been thinking a bit about this method lately, and I'm wondering
> > if I
> > > >> can make it better. Some of my ideas are:
> Thank you jW, I was having such a difficult time getting EZScript to
> build on linux. In response to your earlier post I believe these two
> would be most useful:
> I'm currently working on writing a script to move a vehicle around a
> path in OWL.
> On Apr 15, 3:28 pm, jagwire <pympno...@gmail.com> wrote:
> > Colin,
> > Attached is the latest build of EZScript from Friday. In the future, you
> > can find subsequent versions in the wonderland-modules/unstable directory.
> > warm regards,
> > jW
> > On Sunday, April 15, 2012 1:27:39 PM UTC-5, Collin Stowell wrote:
> > > Also, where can I get a hold of the latest EZScript build?
> > > > >> Michel is correct, you can definitely use the GetCellPosition()
> > > command.
> > > > >> I've been thinking a bit about this method lately, and I'm wondering
> > > if I
> > > > >> can make it better. Some of my ideas are:
Your project sounds exciting, you'll have to let us all know how your vehicle fares.
Currently, there is no command to retrieve a cell for a given CellID from ezscript-land. It wouldn't be hard nor slow to build in real quick, but I'm curious of your use cases for such a need. Can you provide us how you plan to use the cell object?
On Sunday, April 15, 2012 5:18:59 PM UTC-5, Collin Stowell wrote:
> jW,
> Is it possible to access a particular cell object given it's cell id?
> Thanks > Collin
> On Apr 15, 4:39 pm, Collin Stowell <collinstow...@gmail.com> wrote: > > Thank you jW, I was having such a difficult time getting EZScript to > > build on linux. In response to your earlier post I believe these two > > would be most useful:
> > I'm currently working on writing a script to move a vehicle around a > > path in OWL.
> > On Apr 15, 3:28 pm, jagwire <pympno...@gmail.com> wrote:
> > > Colin,
> > > Attached is the latest build of EZScript from Friday. In the future, > you > > > can find subsequent versions in the wonderland-modules/unstable > directory.
> > > warm regards, > > > jW
> > > On Sunday, April 15, 2012 1:27:39 PM UTC-5, Collin Stowell wrote:
> > > > Also, where can I get a hold of the latest EZScript build?
> > > > > >> Michel is correct, you can definitely use the GetCellPosition() > > > > command. > > > > > >> I've been thinking a bit about this method lately, and I'm > wondering > > > > if I > > > > > >> can make it better. Some of my ideas are:
I'm just looking to fetch an objects position given it's name. As of
right now all i'm trying to accomplish is to have a vehicle follow a
set of points around the world. I'm hoping to use a set of objects as
waypoints to start with and see what improvements can be made.
Unfortunately I was hoping that given an object name I could fetch
it's position.
Also another improvement that I thought could be made was with the
SpinX/Y/Z methods. Perhaps build a method where I can set a rotation
on an object rather than just adding or taking from it's current
rotation.
Let me know if you think it's worth implementing!
Thanks
Collin
On Apr 16, 4:07 pm, jagwire <pympno...@gmail.com> wrote:
> Your project sounds exciting, you'll have to let us all know how your
> vehicle fares.
> Currently, there is no command to retrieve a cell for a given CellID from
> ezscript-land. It wouldn't be hard nor slow to build in real quick, but I'm
> curious of your use cases for such a need. Can you provide us how you plan
> to use the cell object?
> best regards!
> jW
> On Sunday, April 15, 2012 5:18:59 PM UTC-5, Collin Stowell wrote:
> > jW,
> > Is it possible to access a particular cell object given it's cell id?
> > Thanks
> > Collin
> > On Apr 15, 4:39 pm, Collin Stowell <collinstow...@gmail.com> wrote:
> > > Thank you jW, I was having such a difficult time getting EZScript to
> > > build on linux. In response to your earlier post I believe these two
> > > would be most useful:
> > > > Attached is the latest build of EZScript from Friday. In the future,
> > you
> > > > can find subsequent versions in the wonderland-modules/unstable
> > directory.
> > > > warm regards,
> > > > jW
> > > > On Sunday, April 15, 2012 1:27:39 PM UTC-5, Collin Stowell wrote:
> > > > > Also, where can I get a hold of the latest EZScript build?
> > > > > > >> Michel is correct, you can definitely use the GetCellPosition()
> > > > > command.
> > > > > > >> I've been thinking a bit about this method lately, and I'm
> > wondering
> > > > > if I
> > > > > > >> can make it better. Some of my ideas are:
> > > > > > >> > Does EZScript have the capability of determining an objects
> > X,Y,Z
> > > > > > >> > locations within the OWL environment?
> > > > > > >> > Thanks!
> > > > > > >> > I think it does but I couldn't tell you how. Best to ask on
> > the
> > > > > forum or
> > > > > > >> > look in the EZScripe documentation
I'm about to commit a version that allows one the following interface: $("my-object").getPosition(); which will return a JME2 Vector3f reflecting the object's position. There is a catch however:
1) The EZScript capability needs to be attached to the object you are referencing by name. 2) Before you actually attach EZScript, you need to set the object's name. As per the workflow described here: http://faithhold.dyndns.org:8080/JSPWiki/Wiki.jsp?page=JagWire under the Cell Scripting tab.
How would you propose setting the rotation? The object model we work with, Quaternions, isn't terribly user friendly. Perhaps something like $("my-object").rotate(45); //in degrees ?
On Tue, Apr 17, 2012 at 3:56 PM, Collin Stowell <collinstow...@gmail.com> wrote: > I'm just looking to fetch an objects position given it's name. As of > right now all i'm trying to accomplish is to have a vehicle follow a > set of points around the world. I'm hoping to use a set of objects as > waypoints to start with and see what improvements can be made. > Unfortunately I was hoping that given an object name I could fetch > it's position.
> Also another improvement that I thought could be made was with the > SpinX/Y/Z methods. Perhaps build a method where I can set a rotation > on an object rather than just adding or taking from it's current > rotation.
> Let me know if you think it's worth implementing! > Thanks > Collin
>> Your project sounds exciting, you'll have to let us all know how your >> vehicle fares.
>> Currently, there is no command to retrieve a cell for a given CellID from >> ezscript-land. It wouldn't be hard nor slow to build in real quick, but I'm >> curious of your use cases for such a need. Can you provide us how you plan >> to use the cell object?
>> best regards! >> jW
>> On Sunday, April 15, 2012 5:18:59 PM UTC-5, Collin Stowell wrote:
>> > jW,
>> > Is it possible to access a particular cell object given it's cell id?
>> > Thanks >> > Collin
>> > On Apr 15, 4:39 pm, Collin Stowell <collinstow...@gmail.com> wrote: >> > > Thank you jW, I was having such a difficult time getting EZScript to >> > > build on linux. In response to your earlier post I believe these two >> > > would be most useful:
>> > > > Attached is the latest build of EZScript from Friday. In the future, >> > you >> > > > can find subsequent versions in the wonderland-modules/unstable >> > directory.
>> > > > warm regards, >> > > > jW
>> > > > On Sunday, April 15, 2012 1:27:39 PM UTC-5, Collin Stowell wrote:
>> > > > > Also, where can I get a hold of the latest EZScript build?
>> > > > > > >> Michel is correct, you can definitely use the GetCellPosition() >> > > > > command. >> > > > > > >> I've been thinking a bit about this method lately, and I'm >> > wondering >> > > > > if I >> > > > > > >> can make it better. Some of my ideas are:
>> > > > > > >> > Does EZScript have the capability of determining an objects >> > X,Y,Z >> > > > > > >> > locations within the OWL environment?
>> > > > > > >> > Thanks!
>> > > > > > >> > I think it does but I couldn't tell you how. Best to ask on >> > the >> > > > > forum or >> > > > > > >> > look in the EZScripe documentation
When I checkout the latest version of wonderland and wonderland-
modules from googlecode and run ant on unstable/EZScript I get a
variety of errors regarding VideoPlayer. If you want to see the entire
error log I can post it but it's lengthy and i'm sure it's due to code
not related to EZScript, any ideas?
The rotation might not be a necessity but I figured just being able to
set a fixed rotation over an axis might be useful in some cases.
Something like $("my-object").rotate([X,Y,Z], degrees) would be more
than fine!
Thanks for all the help jW I really appreciate it,
Collin
Place that as a sibling in the same directory as wonderland and wonderland-modules and rebuild wonderland. Once the video project is built, then you should be able to build the videoplayer module in unstable and then EZScript.
> When I checkout the latest version of wonderland and wonderland- > modules from googlecode and run ant on unstable/EZScript I get a > variety of errors regarding VideoPlayer. If you want to see the entire > error log I can post it but it's lengthy and i'm sure it's due to code > not related to EZScript, any ideas?
> The rotation might not be a necessity but I figured just being able to > set a fixed rotation over an axis might be useful in some cases. > Something like $("my-object").rotate([X,Y,Z], degrees) would be more > than fine!
> Thanks for all the help jW I really appreciate it, > Collin
I checked it out and added it as a sibling in the directory with
wonderland and wonderland-modules, I built it and re-built wonderland
and still no luck. I'm still receiving the same error. Any ideas?
Thanks
Collin
On Apr 19, 12:49 pm, jagwire <pympno...@gmail.com> wrote:
> Place that as a sibling in the same directory as wonderland and
> wonderland-modules and rebuild wonderland. Once the video project is
> built, then you should be able to build the videoplayer module in
> unstable and then EZScript.
> hope this helps,
> jW
> On Thu, Apr 19, 2012 at 11:09 AM, Collin Stowell
> > When I checkout the latest version of wonderland and wonderland-
> > modules from googlecode and run ant on unstable/EZScript I get a
> > variety of errors regarding VideoPlayer. If you want to see the entire
> > error log I can post it but it's lengthy and i'm sure it's due to code
> > not related to EZScript, any ideas?
> > The rotation might not be a necessity but I figured just being able to
> > set a fixed rotation over an axis might be useful in some cases.
> > Something like $("my-object").rotate([X,Y,Z], degrees) would be more
> > than fine!
> > Thanks for all the help jW I really appreciate it,
> > Collin
> I checked it out and added it as a sibling in the directory with > wonderland and wonderland-modules, I built it and re-built wonderland > and still no luck. I'm still receiving the same error. Any ideas?
>> Place that as a sibling in the same directory as wonderland and >> wonderland-modules and rebuild wonderland. Once the video project is >> built, then you should be able to build the videoplayer module in >> unstable and then EZScript.
>> hope this helps, >> jW
>> On Thu, Apr 19, 2012 at 11:09 AM, Collin Stowell
>> > When I checkout the latest version of wonderland and wonderland- >> > modules from googlecode and run ant on unstable/EZScript I get a >> > variety of errors regarding VideoPlayer. If you want to see the entire >> > error log I can post it but it's lengthy and i'm sure it's due to code >> > not related to EZScript, any ideas?
>> > The rotation might not be a necessity but I figured just being able to >> > set a fixed rotation over an axis might be useful in some cases. >> > Something like $("my-object").rotate([X,Y,Z], degrees) would be more >> > than fine!
>> > Thanks for all the help jW I really appreciate it, >> > Collin
> > I checked it out and added it as a sibling in the directory with
> > wonderland and wonderland-modules, I built it and re-built wonderland
> > and still no luck. I'm still receiving the same error. Any ideas?
> >> Place that as a sibling in the same directory as wonderland and
> >> wonderland-modules and rebuild wonderland. Once the video project is
> >> built, then you should be able to build the videoplayer module in
> >> unstable and then EZScript.
> >> hope this helps,
> >> jW
> >> On Thu, Apr 19, 2012 at 11:09 AM, Collin Stowell
> >> > When I checkout the latest version of wonderland and wonderland-
> >> > modules from googlecode and run ant on unstable/EZScript I get a
> >> > variety of errors regarding VideoPlayer. If you want to see the entire
> >> > error log I can post it but it's lengthy and i'm sure it's due to code
> >> > not related to EZScript, any ideas?
> >> > The rotation might not be a necessity but I figured just being able to
> >> > set a fixed rotation over an axis might be useful in some cases.
> >> > Something like $("my-object").rotate([X,Y,Z], degrees) would be more
> >> > than fine!
> >> > Thanks for all the help jW I really appreciate it,
> >> > Collin
I installed the latest version of EZScript and have it running but
this version is acting up for me. Some times using $
("myobject").getPosition will return fine then other times it will
tell me that the object doesn't exist although it clearly does. As
weird as that seems I randomly am getting errors about ShowHUDMessage:
ShowHUDMessage is not a function, it is
sun.org.mozilla.javascript.internal.NativeJavaObject (<Unknown
source>#33) in <Unknown source> at line number 33.
Perhaps this is a problem with the build but I don't know. I haven't
had any problems like this with EZScript before so this is definitely
new.
But before trying to dig too far into this thing, perhaps send me a
built EZScript.jar and i'll test it to eliminate the build as the
possibility for all these strange and random errors.
Thanks a bunch!
Collin
On Apr 20, 11:50 am, jagwire <pympno...@gmail.com> wrote:
> > I checked it out and added it as a sibling in the directory with
> > wonderland and wonderland-modules, I built it and re-built wonderland
> > and still no luck. I'm still receiving the same error. Any ideas?
> >> Place that as a sibling in the same directory as wonderland and
> >> wonderland-modules and rebuild wonderland. Once the video project is
> >> built, then you should be able to build the videoplayer module in
> >> unstable and then EZScript.
> >> hope this helps,
> >> jW
> >> On Thu, Apr 19, 2012 at 11:09 AM, Collin Stowell
> >> > When I checkout the latest version of wonderland and wonderland-
> >> > modules from googlecode and run ant on unstable/EZScript I get a
> >> > variety of errors regarding VideoPlayer. If you want to see the entire
> >> > error log I can post it but it's lengthy and i'm sure it's due to code
> >> > not related to EZScript, any ideas?
> >> > The rotation might not be a necessity but I figured just being able to
> >> > set a fixed rotation over an axis might be useful in some cases.
> >> > Something like $("my-object").rotate([X,Y,Z], degrees) would be more
> >> > than fine!
> >> > Thanks for all the help jW I really appreciate it,
> >> > Collin