Click or drag to resize
IMyMotorBaseAttach Method (IMyMotorRotor)

[This is preliminary documentation and is subject to change.]

Attaches a specified nearby rotor/wheel to the stator/suspension block

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
void Attach(
	IMyMotorRotor rotor
)

Parameters

rotor
Type: Sandbox.ModAPIIMyMotorRotor
Entity to attach
Remarks
The rotor to attach must already be in position before calling this method.
See Also