Assembly: Sandbox.Common.dll

public interface IMyTargetingCapableBlock

Describes block that can target (cockpits and turrets) (mods interface)

Methods

Member Description
CanActiveToolShoot() Get whether toolbar selected tool can shoot
GetActiveToolPosition() Gets average position
GetWorldMatrix() Gets barrel or block world matrix
IsShipToolSelected() Get whether toolbar selected item is ship tool (drill, grinder, welder)
IsTargetLockingEnabled() Gets if target locking is enabled
SetLockedTarget(IMyCubeGrid) Sets locked target grid
SetLockedTarget(IMyCharacter) Sets locked target grid

Inheritors: