Thread

walking bots (Sdk)

walking bots // Sdk

1  |  

josh

Nov 7, 1998, 8:57pm
Hi, I'm part owner of BallBot and I made a ball av for the bot and have
a rolling sq for the walk seq and the roll only works for the first few
meters of the movement. can you tell me how to fix it?

edward sumerfield

Nov 7, 1998, 9:20pm
Roland answered this a few threads ago. It comes down to understanding three
things:

1. The sequences are implemented by the AW browser and therefore your robot
has no DIRECT impact on how the browser represents the avatar. Its more of a
mythical art.

2. A sequence is started for each move an avatar makes. This is started by
the world server sending the browser a new position.

3. The world server sends position information to the browser at a maximum
of once per second.

Roland said that if you move your avatar at about one meter per second then
you should see a repeating sequence.

Edward Sumerfield

[View Quote] > Hi, I'm part owner of BallBot and I made a ball av for the bot and have
> a rolling sq for the walk seq and the roll only works for the first few
> meters of the movement. can you tell me how to fix it?

josh

Nov 7, 1998, 10:01pm
1 meter a second? hmmm... I have no idea what ballbot is moving at...

[View Quote] > Roland answered this a few threads ago. It comes down to understanding three
> things:
>
> 1. The sequences are implemented by the AW browser and therefore your robot
> has no DIRECT impact on how the browser represents the avatar. Its more of a
> mythical art.
>
> 2. A sequence is started for each move an avatar makes. This is started by
> the world server sending the browser a new position.
>
> 3. The world server sends position information to the browser at a maximum
> of once per second.
>
> Roland said that if you move your avatar at about one meter per second then
> you should see a repeating sequence.
>
> Edward Sumerfield
>
[View Quote]

edward sumerfield

Nov 8, 1998, 1:32am
It is driven by a combination of your aw_wait time and the distance moved. So you
should have something like.

kick_distance = 0; // meters kicked.
while( aw_wait(1000) ) { // Wait for 1 second.
if (kick_distance > 0) {

move ball forward 1 meter.
kick_distance--;
}
}
void avatar_change() {
if (gesture == kick) {
kick_distance = 10;
}
}

So when the ball is not kicked it does not move but kicking it sets the kick
distance to some value based on how hard it was kicked. Once the kick distance is
set then the ball will not forward one meter every second.

Edward Sumerfield

[View Quote] > 1 meter a second? hmmm... I have no idea what ballbot is moving at...
>
[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn