This object is in archive! 

Unlimited Camera Raycast Via NaN Injection

d1ag0n shared this bug 3 years ago
Solved

In the programmable block you can subvert the range limit and have unlimited camera ray cast with this code.

IMyCameraBlock camera;
bool nan;
public Program() {
  camera = GridTerminalSystem.GetBlockWithName("camera") as IMyCameraBlock;
}
public void Main(string a, UpdateType u) {
  if (nan) {
    camera.Raycast(10000d);
  } else {
    nan = true;
    camera.Raycast(double.NaN);
  }

Best Answer
photo

Hello, Engineer!

I'm happy to announce that this issue will be fixed with new game version 201.

Kind Regards

Keen Software House: QA Department

Replies (2)

photo
1

Hello, d1ag0n,

thanks for letting us know.

This issue has been reported into our internal system.

Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineer!

I'm happy to announce that this issue will be fixed with new game version 201.

Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!

You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!