Get Velocity: Difference between revisions

From Fancade Wiki
m (Add example and Related section)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
Line 8: Line 8:
}}
}}


Outputs a physical object's current velocity and angular velocity (spin).
Outputs a physical [[object]]'s current velocity and angular velocity (spin).


== Example ==
== Example ==

Latest revision as of 00:46, 23 August 2025

Get Velocity
Get Velocity.png
TypeScript block
ColliderNone
FolderPhysics
Ports
Inputs Object
Outputs Velocity
Spin

Outputs a physical object's current velocity and angular velocity (spin).

Example

To get the speed of a physics-enabled object, velocity is compared to the point of origin (0, 0, 0) in the Distance block.

Get Velocity get speed example.png

Related