Thanks. So I guess they would need to be made part of the mesh is the existing tower,... is removed
---------- Post added at 08:09 PM ---------- Previous post was at 12:07 PM ----------
Well I redid the tower to fit the Crawler In MS2015. Works good!!
---------- Post added 10-05-16 at 05:06 AM ---------- Previous post was 10-04-16 at 08:09 PM ----------
oK. I got the crawler and tower to the hill.
The crawler seems wider than the path.
On the launchpad hill since we need to edit that I guess we can make it wider.
I can't edit that mesh. I get a type mismatch error in Meshwizard.
On the padlift. I am missing something in the code. Basically it moves the attachment point from the base of the hill to the pad top.
It needs to rotate back for the slope and the rotate back when on top.
If I make the attachment vector :
The Tower just rotates around not advancing.
Well And I can see the debug print out on screen as it is below the screen
---------- Post added at 08:09 PM ---------- Previous post was at 12:07 PM ----------
Well I redid the tower to fit the Crawler In MS2015. Works good!!
---------- Post added 10-05-16 at 05:06 AM ---------- Previous post was 10-04-16 at 08:09 PM ----------
oK. I got the crawler and tower to the hill.
The crawler seems wider than the path.
On the launchpad hill since we need to edit that I guess we can make it wider.
I can't edit that mesh. I get a type mismatch error in Meshwizard.
On the padlift. I am missing something in the code. Basically it moves the attachment point from the base of the hill to the pad top.
It needs to rotate back for the slope and the rotate back when on top.
Code:
if (PAD_proc > 300)PAD_proc = (300);
else if (PAD_proc < 0)PAD_proc = (0);
double db = simdt * 1;
double de = simdt * .04853;
if (PAD_check == PAD_BACK)PAD_proc = (PAD_proc + db);
else if (PAD_check == PAD_FORWARD)PAD_proc = (PAD_proc - db);
else if (PAD_check == PAD_STOP)PAD_proc = PAD_proc;
if (PAD_proc >300)PAD_proc = (300);
else if (PAD_proc < 0)PAD_proc = (0);
PAD_pos.z = PAD_pos.z + db;//z travel
PAD_pos.y = PAD_pos.y + de;// y travel
SetAttachmentParams(PAD, PAD_pos, _V(0, -1, 0), _V(0, 0, -1));
// SetAnimation(anim_arm_PAD, PAD_proc);
//SetAnimation(anim_arm_PAD, ARM_proc);
sprintf(oapiDebugString(), "animdf %2.2f ", PAD_proc);
If I make the attachment vector :
Code:
SetAttachmentParams(PAD, PAD_pos, _V(0, -1, 0), _V(0, .2, -.98));
The Tower just rotates around not advancing.
Well And I can see the debug print out on screen as it is below the screen
Last edited: