[Space Engineers] Using a Programmable Block and Cockpit to control a gravity drive

preview_player
Показать описание
I made a Programmable Block script to allow cockpit controls to use a gravity drive.

Script:

Рекомендации по теме
Комментарии
Автор

Glad you are into SE! Gravity generators are fun to play with. I remember when people used to make improvised coilguns using gravity gens as the magnet stages and launch trash at the enemy - before they removed floating object damage anyways.

WhiteWeaseI
Автор

Impressive. I've tried scripting for Space Engineers but it's a bit too complex for me.

SebSenseGreen
Автор

Omg you don't need to do that M4 stuff and invert that matrix, just do transpose.
var yourLocalGridVector = Vector3D.TransformNormal(Vector,

Also you do lots of unneeded grav gen (and artmass) setter calls each tick (.Enabled setter), that's really bad for performance. For some reason gravgen on/off API call is costly and not good idea to touch it too often. Better just set grav power to zero but let everything be online, at least on per tick basis. That's from my personal experience.

cheerkin
Автор

Not sure I trust any app from a guy whose handle is Malware, and previously known as Lord Devious.

darthslackus
Автор

not to be rude but whos smurf shit is this?

skurtlil
visit shbcf.ru