i'm trying to animate a 3d model that is suplied with pro in the media section.
now i can easily show the model no problem but i can't append the animation file. i followed the help file commands and put them where i thought they should go but it didn't wanna work. it did compile though.
i was wondering if any1 could help me out and help me fix the problem. heres the whole code so far. mostly test code till its sorted.
sync on:hide mouse
Sync rate 30
autocam off
width = 10000
depth = 10000
load image "desert.jpg", 1
load object "ColZ.x",1
append object "ColZ_Run.x",1,total object frames(1)+1
make matrix 1, width, depth, 100, 100
prepare matrix texture 1, 1, 1, 1
randomize matrix 1, 30
update matrix 1
position object 1,1000,10,1000
position matrix 1,0,0,0
POSITION CAMERA 0, 100, 0
SET CAMERA RANGE 1, 10000
rotate object 1,0,90,90
loop object 1,1,5
Do
CONTROL CAMERA USING ARROWKEYS 0, 100, 10
sync
Loop
it don't work this way
and it don't work like this either
sync on:hide mouse
Sync rate 30
autocam off
width = 10000
depth = 10000
load image "desert.jpg", 1
load object "ColZ.x",1
append object "ColZ_Run.x",1,total object frames(1)+1
make matrix 1, width, depth, 100, 100
prepare matrix texture 1, 1, 1, 1
randomize matrix 1, 30
update matrix 1
position object 1,1000,10,1000
position matrix 1,0,0,0
POSITION CAMERA 0, 100, 0
SET CAMERA RANGE 1, 10000
rotate object 1,0,90,90
Do
CONTROL CAMERA USING ARROWKEYS 0, 100, 10
loop object 1,1,5
sync
Loop
1 of the problems is that i don't know how many frames there is. i just guessed and no luck.
if i can get this sorted then any animation should be fine. then i can work on a collision routine of some sort.
thanks for any help given
system specs: AMD XP 3000+, 512Mb DDR333, nvidia ge-force FX 5600 128MB, 1x8Gb & 1x40Gb HHD, 52x CD drive, DVD+RW 4x, Sound Blaster 128.... all in a Nokia 8310 case :0D