Stormworks: Build and Rescue

Stormworks: Build and Rescue

35 ratings
Coordinate Transformer with Physics Sensor
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
110.429 KB
17 Feb, 2023 @ 9:52pm
19 Feb, 2023 @ 7:27am
5 Change Notes ( view )

Subscribe to download
Coordinate Transformer with Physics Sensor

Description
Calculates vehicle's attitude and converts local/global coordinates to global/local coordinates using physics sensor.

Changelog
  • v2 - Added vehicle's roll, pitch and yaw angle output node


To upload your creation with all / part of this creation to workshop,
  • My permission - No need.
  • Credit (e.g. URL of this page) - No need, but i'll be glad if there are.
16 Comments
Pyo 11 Apr, 2024 @ 8:39pm 
Thank you.
Best one I have seen to tell how physics sensor working.
I always using the calculation of this one in Euler transforming.
And some part of the code of this creation is the base or the core calculation of many of my creation.
Very helpful. Much thanks.
line 25 Feb, 2023 @ 9:32pm 
well that reacton was funny also i do agree the mass pasteing crap in the comments is annoying and makeing it difficult for people to read some comment sections
rushpsül1on 25 Feb, 2023 @ 7:15am 
stfu, doge isn't funny
SonOfFire5 24 Feb, 2023 @ 12:23pm 
░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ THIS IS DOGE
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█ COPY AND PASTE HIM
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌ SO HE CAN TAKE OVER
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓▐ THE WORKSHOP
Damocloid 24 Feb, 2023 @ 9:41am 
To note the roll axis outputs are broken on the physics senor its self.

1. The actual calculations use ATAN not ATAN2 which means the outputs are inaccurate.

2. Pitch and Roll are global which is very bad if you want to actually use the physics block. Also when you go past the north south 0,0 line the outputs flip.
FN-20  [author] 23 Feb, 2023 @ 4:26am 
@CTH2004
The Debug video output node displays the vehicle attitude (local X, Y, Z axis vectors) expressed in the global coordinate system.
Noble6 456 22 Feb, 2023 @ 2:11pm 
neat
Kraft 22 Feb, 2023 @ 11:11am 
perfect opportunity for "The missile know where it is by knowing where it is not."
CTH2004 22 Feb, 2023 @ 10:54am 
What does "debug video" do?
~WiFiCatGirl~ 21 Feb, 2023 @ 5:14pm 
@Raptor
Like what the person below said. But this is a building game, so why not have it?