Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions.
See the stable version of this documentation page instead.
Projectile🔗
Inherits: Node3D
Inherited By: ChainGunProjectile, ExplosiveProjectile
This class defines a projectile.
Properties🔗
|
||
|
||
|
||
|
||
|
||
|
Methods🔗
void |
_init() |
void |
|
void |
_physics_process(delta: float) |
Constants🔗
_speed_of_light = 299792458 🔗
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions🔗
The initial speed when launched, measured in meters per second (m/s or mps).
The time before it automatically self-destructs (never by default), measured in seconds (s).
A knockback impulse applied to bodies it collides with, in Newtons.
The base amount of damage.
The source that launched this projectile.
There is currently no description for this property. Please help us by contributing one!
Vector3 inheritance = Vector3(0, 0, 0) 🔗
There is currently no description for this property. Please help us by contributing one!
ShapeCast3D shape_cast = null 🔗
There is currently no description for this property. Please help us by contributing one!
Vector3 velocity = Vector3(0, 0, 0) 🔗
There is currently no description for this property. Please help us by contributing one!
Method Descriptions🔗
void _init() 🔗
There is currently no description for this method. Please help us by contributing one!
void destroy(_location: Vector3 = global_position) 🔗
There is currently no description for this method. Please help us by contributing one!
void _physics_process(delta: float) 🔗
There is currently no description for this method. Please help us by contributing one!