Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / need help with objects moving

Author
Message
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 18th Aug 2013 18:04
I don't know trig... and id like to move my object in the way its facing without cheating using the joystick inputs.

eg if I want to move my camera 10 units its currently facing at the correct camera angle.

darkbasic has a command for this called "move object x,#"

any help would be appreciated

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Aug 2013 18:15 Edited at: 18th Aug 2013 18:16
i believe move object moves along object axis.

in agk this must be one of this
MoveCameraLocalX
MoveCameraLocalY
MoveCameraLocalZ

MoveObjectLocalX
MoveObjectLocalY
MoveObjectLocalZ
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 18th Aug 2013 18:40
is it only 1 of them?? im deeply confused...

I see in there 3d example they are using z....so I will test it out.

SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 18th Aug 2013 18:46
looks like you nailed it!

thanks


and it was the MoveCameraLocalZ

Login to post a reply

Server time is: 2024-11-24 18:02:49
Your offset time is: 2024-11-24 18:02:49