Project

General

Profile

Feature #2999

EVA flight should be controllable by mods using FlightCtrlState

Added by spudbean over 10 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Plugins/Add-Ons
Target version:
-
% Done:

0%

Platform:
Any
Expansion:
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

It seems like the KerbalEVA part implements user-controlled movement by only checking for GameSettings.EVA_forward.GetKey() etc. If it also checked for X/Y/Z (etc.) values in the current FlightCtrlState, it would allow plugins to control EVA movement. Or EVA_X, EVA_Y, EVA_Z fields could be added to FlightCtrlState.

The only alternative seems to be to manipulate the rigidbody directly (which this older plugin "EVA Followers" does http://forum.kerbalspaceprogram.com/threads/36425 ). However, this doesn't result in jetpack fuel being depleted, or jetpack effects from applying either.

Reason for wanting this: I was hoping to add an EVA mode to my "onscreen joystick" mod: http://forum.kerbalspaceprogram.com/threads/92586

Also available in: Atom PDF