How to set position and control md2 or .x file in q3 map
(I want to use md2 file walk around it)
sorry for my poor english
animation file walk around in q3 map
animation file walk around in q3 map
chaiyo chaiyo
newbie solutions
hi pepe,
i got the solution (if i don't wrong).
do you get see the Demo? in that folder ( i still using irrlicht 0., there are 3 file .CPP, are:
1. main.CPP
2.CMainmenu.cpp
3.CDemo.cpp.
just see the file CDemo.cpp, you'll finde your questions.
in that file, you will see some line like this :
//load sydney and create 2 intances, right?
do you see
setPosition(core::vector3df(100,40,-80)); that's your answer, and you can use another, with the first word, set....., example, setMD2Animation, setMaterialFlag, etc.
emmm..if control a .md2, i don't know much about it, but if you want to make it walk in q3 maap, you can find the code in the same file, CDemo.cpp. find
//create walk-between-portals animation, the codes:
i think leraning the demo is the best way how to increase our programming in irrlicht.
i hope this will help you.
we are same, newbie.
regards,
ijo coim
----------------
emmm...almost forget, now there are 73 pages of thread in begineer help. if you looking them page by page, you will find another help (some times a complete code) that will help you.
so, explore the begineer help forum thread
(the same poor english)
i got the solution (if i don't wrong).
do you get see the Demo? in that folder ( i still using irrlicht 0., there are 3 file .CPP, are:
1. main.CPP
2.CMainmenu.cpp
3.CDemo.cpp.
just see the file CDemo.cpp, you'll finde your questions.
in that file, you will see some line like this :
//load sydney and create 2 intances, right?
do you see
setPosition(core::vector3df(100,40,-80)); that's your answer, and you can use another, with the first word, set....., example, setMD2Animation, setMaterialFlag, etc.
emmm..if control a .md2, i don't know much about it, but if you want to make it walk in q3 maap, you can find the code in the same file, CDemo.cpp. find
//create walk-between-portals animation, the codes:
Code: Select all
core::vector3df waypoint[2];
waypoint[0].set(-150,40,100);
waypoint[1].set(350,40,100);
if (model2)
{
.
.
.
}
i hope this will help you.
we are same, newbie.
regards,
ijo coim
----------------
emmm...almost forget, now there are 73 pages of thread in begineer help. if you looking them page by page, you will find another help (some times a complete code) that will help you.
so, explore the begineer help forum thread
(the same poor english)