Inspect: Difference between revisions

217 bytes added ,  18 December 2024
m
describe each output, and clean formatting
(Updated the page. TODO: update the explanation.)
m (describe each output, and clean formatting)
Line 27: Line 27:
From left to right and top to bottom, we have:
From left to right and top to bottom, we have:


* Number  
* '''Number''' either a floating-point value, truncating the decimal when necessary, or a nan or inf
* Object
* '''Objec'''t either '''none''', or the ID of the object
* Vector
* '''Vector''': three numbers into one!
* Truth
* '''Truth''': either '''true''' or '''false'''
* Rotation
* '''Rotation''': a quaternion


<u>One small consideration is that the number displayed on the object inspect is not actually useful, but there is an use for the object inspect, which we will talk about bellow in the next section.</u>
One small consideration is that the number displayed on the object inspect is not actually useful, but there is an use for the object inspect, which we will talk about bellow in the next section.


<u>And you might also notice that the rotation inspect shows a completely different value from what it's being given to it, this is because the same rotation can be expressed with different angles, so don't worry too much about this one.</u>
And you might also notice that the rotation inspect shows a completely different value from what it's being given to it, this is because the same rotation can be expressed with different angles, so don't worry too much about this one.


It's also necessary to know that the display on this block it's only visible when the block it's on the ground, so it's impossible to see the value when you are using it inside a script block.
It's also necessary to know that the display on this block it's only visible when the block it's on the ground, so it's impossible to see the value when you are using it inside a script block.