Project

General

Profile

Bug #20513

SAS target tracking alignment error when controlling from off-axis docking ports

Added by hermanpetri@hotmail.com 9 months ago. Updated 8 months ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Gameplay
Target version:
-
Start date:
12/02/2018
% Done:

10%

Version:
Platform:
Windows
Expansion:
Core Game
Language:
English (US)
Votes:
Arrow u r green
Arrow d r red

Description

If you are using SAS target tracking to align with a target craft, and have selected "control from here" using a docking port that is not aligned with the central axis of your craft, then the SAS targeting will not properly calculate the angle and will likely cause your craft to face in the wrong direction.

This is because SAS target tracking seems to calculate the angle towards the target using the root part of the craft as the starting point rather than using the controlling part as a starting point. If while in SAS target tracking mode you chose to "control here" from a docking port not aligned with the central axis of the craft then you craft will continually try to rotate around the target because it is trying to aim the root part of your vehicle into alignment with your target which is not in line with your control point. This makes it impossible to use SAS target tracking to dock using an off-axis docking port.

If the root part of the vehicle is reassigned to the desired off-axis docking port then the ship is able to dock properly using SAS target tracking, however this is not possible while in flight and cannot be used as a legitimate work around.

In the image below, in an unmodded game, you can see that an off-axis docking port is selected as a control point, and SAS target tracking is activated, but the craft is not aiming the docking port at the targeted craft. Instead, although the craft is being aimed in the same direction as the controlling docking port, it is the location of the probe core that is being used as the starting line for docking alignment because the probe core is the root part in this vessel. These craft continued to circle each other as the SAS tried to rotate the probe core in line with the targeted port instead of the controlling docking port.

target bug save.sfs (106 KB) target bug save.sfs 555-555-0199@example.com Anth12, 12/12/2018 07:29 AM
Confirmed Screenshot.png (1.45 MB) Confirmed Screenshot.png 555-555-0199@example.com Anth12, 12/12/2018 07:34 AM
Bug Ship 1.craft (33.4 KB) Bug Ship 1.craft 555-555-0199@example.com Anth12, 12/12/2018 08:10 AM
End Probe Core Root.png (2.22 MB) End Probe Core Root.png 555-555-0199@example.com Anth12, 12/13/2018 07:42 AM
Side Docking Port 1.png (2.43 MB) Side Docking Port 1.png 555-555-0199@example.com Anth12, 12/13/2018 07:42 AM
Side Docking Port 2.png (2.44 MB) Side Docking Port 2.png 555-555-0199@example.com Anth12, 12/13/2018 07:43 AM
Side Docking Port 3.png (2.44 MB) Side Docking Port 3.png 555-555-0199@example.com Anth12, 12/13/2018 07:43 AM
Middle Probe Core Root.png (2.26 MB) Middle Probe Core Root.png 555-555-0199@example.com Anth12, 12/13/2018 07:54 AM
Root Front Probe Core.sfs (203 KB) Root Front Probe Core.sfs 555-555-0199@example.com Anth12, 12/13/2018 07:59 AM
Root Middle Probe Core.sfs (203 KB) Root Middle Probe Core.sfs 555-555-0199@example.com Anth12, 12/13/2018 07:59 AM
40264
40325
40326
40327
40328
40329

History

#1 Updated by Anth12 8 months ago

40264

Clean Install 1.5.1.2335 + 1.5.1 MH Steam intergrated (not copied out to another folder) no mods

MY ACTION: Copied the craft in the screenshot the best I could and tested it in KSP by creating the crafts and setting orbit for one
and doing a debug rendezvous to it with the other.

SAVE ATTACHED: target bug save.sfs is attached for testing

Confirmed

#2 Updated by Anth12 8 months ago

Heres a copy of the test ship. Root Part is on the end. Will do further testing later

#3 Updated by Anth12 8 months ago

40325
40326
40327
40328
40329

Looked to simplify this with rovers on a 2D plane.

Screenshots
**
End Probe Core Root:
One of the side docking ports has been set to 'control from here'
Navball isn't pointing in the right direction.
Probe core that is the root part is 90 degrees to the docking port that is targeted
Side Docking Port 1 + 2 + 3:

Look at the Target Marker when control from here is changed on the docking ports that are facing the targeted ship
Middle Probe Core Root:

*To demonstrate that the root part is the focus of orientation

Save Files:*++
Both are from the screen shots.
Friction has been set to Zero so the ship kind of acts like a compass.

Also available in: Atom PDF