Thread

problem with AW_MY_PITCH attribute (Sdk)

problem with AW_MY_PITCH attribute // Sdk

1  |  

neophile

Jul 8, 2004, 3:26pm
Hi, i'm making a train-bot in C with Dev-Cpp. My problem is i ca'nt seem
to pitch the bot with the AW_MY_PITCH attribute.
The bot is moving accordingly to all other parameters i give it
(AW_MY_X, etc).
Here is the fonction i'm trying to use to refresh the bot's position 4
times per second:

> void refresh(void){
> aw_int_set (AW_MY_X, X);
> aw_int_set (AW_MY_Z, Z);
> aw_int_set (AW_MY_Y, Y);
> aw_int_set (AW_MY_YAW, YAW);
> aw_int_set (AW_MY_PITCH, pitch);
> aw_int_set (AW_MY_GESTURE, gest);
> aw_state_change ();
> }

I have been confirmed this should work, as it does in other languages,
like Delphi..
Any help or comment would be aprreciated.

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