NAVIGATION
Wiki » Reference » DOOM 3 Script Events » setLinearVelocity
ARTICLE
setLinearVelocity
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
Sets the current linear velocity of this entity in units per second. 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 | void |
| Parameters | vector velocity |
| Section | all entities |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | vector |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | void |
| Parameters | vector |
Last changed Sep 21, 2026
