Space Engineers

Space Engineers

View Stats:
Michel_0 Jul 27, 2019 @ 5:38pm
Detecting & locating things by script
Hi there,

has anyone used "IMyCameraBlock#Raycast" & "IMySensorBlock#DetectedEntities" and is willing to share some experience?
Ranges, detectable entities & objects, accuracy, possible scan time intervals, performance?

A sensor returns a list of "MyDetectedEntityInfo", while a camera returns only a single one (possibly the first found).

By a first look, it look likes a sensor detects within a cuboid range, while a camera needs a discrete direction or point, also does a camera also detect asteroids like sensors?

Furthermore "IMyOreDetector" doesn't seem to provide an API to get detected ores, is there an workaround (e.g. use "BroadCastUsingAntennas" and get the ore signals from a antenna, i can't see how yet)?

Any experience in how to detect >things< in general by script would be helpful and welcome.

Greetings, Michel_0

EDIT: I define "things" as: asteroids, planets, moons, ores, ships, stations, dropped items.
Last edited by Michel_0; Jul 27, 2019 @ 5:45pm
Date Posted: Jul 27, 2019 @ 5:38pm
Posts: 0