Loading...

Logo
DocumentationBehaviorsPhysicsGet Velocity
Physics

Get Velocity

Last updated September 27, 2018

Description

Get the current velocity of an object. This will tell you how fast it is moving in meters per second.

Properties

Triggers Immediately

Object ABy default this is the current object selected. You can change this to any other object in your scene.
Velocity XThe current velocity of an object is along the X axis. You can output this to another behavior.
Velocity YThe current velocity of an object along the Y axis. You can output this to another behavior.
SpeedThe current speed of the object along both X and Y axis in meters per second.

Outputs

Velocity X

Outputs the object's velocity on the X-axis as a value.

Velocity Y

Outputs the object's velocity on the Y-axis as a value.

Speed

Outputs the object's current speed as a value.

Object ID

This outputs the Object ID.

Get Rotational Velocity

Set Rotational Velocity

Set Velocity

GetVelocityReference.gif