Hello all, nice place you have here.
I am helping my son do some programming with Darkbasic Classic (V1.13) and I’m having a problem.
This Alien Model you have as a download just wont play right.
If you load it in and then rotate (or point) it in a direction and then try and move it the thing moves not in the direction the model is facing but backwards.
Please take a look at the following code and tell me what command I need to use to get it to move in the direction the model faces.
cls 0
sync on
Sync Rate 0
hide mouse
color backdrop 0
make matrix 1, 2000, 2000, 45, 45
load object "alien\alien.x",2
position object 2,800,0,100
scale object 2,55,55,55
set object frame 2,650
SET OBJECT SPEED 2,20
loop object 2,670,720
POINT OBJECT 2,80,0,550
FIX OBJECT PIVOT 2
do
SET CAMERA TO FOLLOW object position x(2),object position y(2),object position z(2),45,400,250,50,0
point camera object position x(2), object position y(2), object position z(2)
MOVE OBJECT 2,1
sync
loop
One other thing.
How can I stop the model from going through all of its animations and just do the one I want it to, which in this case is to walk.
Thanks for looking.