NAVIGATION
Wiki » Reference » DOOM 3 Script Events » getLinearVelocity
ARTICLE
getLinearVelocity
This is a script event on id Tech 4 engines, present on DOOM 3, Quake 4 and Prey. Below you can find its signature for each game that declares it.
DOOM 3
Gets the current linear velocity of this entity. The linear velocity of a physics object is a vector that defines the translation of the center of mass in units per second.
| Property | Value |
|---|---|
| Type | script event |
| Returns | vector |
| Section | all entities |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | vector |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | vector |
Last changed Sep 21, 2026
