.thn-File + moving object
My entries:
<pre><font size=1 face=Courier>{
entity_name="Ships_pallas",
type=COMPOUND,
template_name="pallas",
lt_grp=4,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
-4000.0,
-500.0,
-500.0
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
},
},
userprops={
category="Spaceship"
},
},
{
entity_name="Path_1",
type=MOTION_PATH,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-4000,
0,
-500
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
}
},
pathprops={
path_type="CV_CROrientationSplinePath",
path_data="OPEN, {-4000.0,0.0,-500}, {1.000000,0.000000,0.000000,0.000000}, {-4000.0,0.0,15000.0}, {1.000000,0.000000,0.000000,0.000000}, "
}
},
and
{
2,
START_PATH_ANIMATION,
{
"Ships_pallas",
"Path_1"
},
{
duration=60,
start_percent=0,
stop_percent=1,
offset={
0,
0,
0
},
up=Y_AXIS,
front=NEG_Z_AXIS,
flags=POSITION + ORIENTATION + LOOK_AT
}
} </font></pre>
Simply question: What's wrong with this that the ship which should move along the path isn't showing up?
There should the ship move along:
[IMGhttp://img112.imageshack.us/img112/5/koords6hs.th.jpg[/IMG
and it should appear from behind the camera (at -4000,0:0:0)
Edited by - burzelmann on 2/13/2006 1:31:12 PM
<pre><font size=1 face=Courier>{
entity_name="Ships_pallas",
type=COMPOUND,
template_name="pallas",
lt_grp=4,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
-4000.0,
-500.0,
-500.0
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
},
},
userprops={
category="Spaceship"
},
},
{
entity_name="Path_1",
type=MOTION_PATH,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-4000,
0,
-500
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
}
},
pathprops={
path_type="CV_CROrientationSplinePath",
path_data="OPEN, {-4000.0,0.0,-500}, {1.000000,0.000000,0.000000,0.000000}, {-4000.0,0.0,15000.0}, {1.000000,0.000000,0.000000,0.000000}, "
}
},
and
{
2,
START_PATH_ANIMATION,
{
"Ships_pallas",
"Path_1"
},
{
duration=60,
start_percent=0,
stop_percent=1,
offset={
0,
0,
0
},
up=Y_AXIS,
front=NEG_Z_AXIS,
flags=POSITION + ORIENTATION + LOOK_AT
}
} </font></pre>
Simply question: What's wrong with this that the ship which should move along the path isn't showing up?
There should the ship move along:
[IMGhttp://img112.imageshack.us/img112/5/koords6hs.th.jpg[/IMG
and it should appear from behind the camera (at -4000,0:0:0)
Edited by - burzelmann on 2/13/2006 1:31:12 PM