Space Engineers

Space Engineers

Improvised Engineering (Grid Pickup/Holding/Manipulation Mod) Nicknamed: Grabby Hands
 This topic has been pinned, so it's probably important
Fixed rotate behavior
I modified code so rotation keys behave simillar way as when 'holding projection' in your hand before placing it into the world ...

changes:
1) extracted GrabOrRelease method from UpdateAfterSimulation
2) extracted Manipulate method from UpdateAfterSimulation
3) extracted Rotate method from Manipulate
4) completely rewrote Rotate method :)
- added SHIFT button to rotate grid to player head matrix - not needed, but simplified testing (works only when left mouse button is held)

first 3 changes are there just to make code more readable ...

my updated GridPickupMod.cs (i didnt change other files) is here[gist.github.com]
< >
Showing 1-3 of 3 comments
CzBuCHi Aug 31 @ 5:40am 
note: for anyone who dont want to wait for update: grab my gist and place it here:

c:\Program Files (x86)\Steam\steamapps\workshop\content\244850\2890866161\Data\Scripts\Math0424\GridPickupMod.cs

(you may have different steam workshop directory path)
mz  [developer] Sep 2 @ 5:09pm 
will add (and sorry for the messy code xD)
CzBuCHi Sep 3 @ 9:26am 
Originally posted by mz:
will add (and sorry for the messy code xD)

code that works is never messy ... unreadable maybe :D
< >
Showing 1-3 of 3 comments
Per page: 1530 50