IMyMotorBaseAttach Method (IMyMotorRotor, Boolean) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Attaches a specified nearby rotor/wheel to the stator/suspension block
Namespace: Sandbox.ModAPIAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void Attach(
IMyMotorRotor rotor,
bool updateGroup = true
)
Sub Attach (
rotor As IMyMotorRotor,
Optional updateGroup As Boolean = true
)
void Attach(
IMyMotorRotor^ rotor,
bool updateGroup = true
)
abstract Attach :
rotor : IMyMotorRotor *
?updateGroup : bool
(* Defaults:
let _updateGroup = defaultArg updateGroup true
*)
-> unit
Parameters
- rotor
- Type: Sandbox.ModAPIIMyMotorRotor
Entity to attach - updateGroup (Optional)
- Type: SystemBoolean
true to update grid groups
Remarks The rotor to attach must already be in position before calling this method.
See Also