Repository navigation
A3D_GetSpeed
imshooter edited this page Oct 17, 2026
·
1 revision
The speed of a moving physics object.
native Float:A3D_GetSpeed(Physic:physicid);| Parameter | Description |
|---|---|
Physic:physicid |
Physics object to read. |
- The speed in metres per second.
-
0.0whenphysicidis not a moving physics object.
The length of the velocity, on every axis. The speed of an impact is given to A3D_OnCollided instead.
stock bool:IsShotHard(Physic:ball) {
return A3D_GetSpeed(ball) > 15.0;
}- A3D_GetVelocity: The velocity of a moving physics object.
- A3D_GetMoveAngle: The direction a moving physics object travels on the ground, as a facing angle.
- A3D_OnCollided: A moving physics object hit something faster than its collision speed.
3DAndreas 0.7.1 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Physics objects
- Model settings
- World queries
- The screen
- Routes
- Navigation mesh
- Map database
- Coming from ColAndreas
- Performance
Reference
Functions