Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Requests
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Requests If you have a request for a new addon or want to know where to find a specific addon, ask it here!

Reply
 
Thread Tools
Old 08-16-2018, 11:00 AM   #76
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Thanks. I guess I am using the default ISS.

---------- Post added 08-16-18 at 06:00 AM ---------- Previous post was 08-15-18 at 09:45 AM ----------

So got the ring to extend.


But haven't got the dock to follow animations yet.
Code:
	if (ODS == 1){//ODS is  present
		if (DOCKRING_status >= HATCH_RAISING) {
			double da = simdt * .1;
			if (DOCKRING_status == HATCH_RAISING) {
				if (DOCKRING_proc > 0.0) DOCKRING_proc = max(0.0, DOCKRING_proc - da);
				else DOCKRING_status = HATCH_UP;
			}
			else {
				if (DOCKRING_proc < 1.0) DOCKRING_proc = min(1.0, DOCKRING_proc + da);
				else DOCKRING_status = HATCH_DOWN;
			}
			SetAnimation(anim_DOCKRING, DOCKRING_proc);
			dockpos.y = dockpos.y + (DOCKRING_proc * .45);  //move dock post on y axis  to follow ring position  rign move up.45 when extended

			SetDockParams(dockpos, _V(0, 1, 0), _V(0, 0, -1));

		}
	}
Also the ring animation seems to not work in d3d9?
gattispilot is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Requests


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 01:48 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.