GrenadeLauncherProjectile🔗

Inherits: ArcProjectile 🡲 ExplosiveProjectile 🡲 Projectile 🡲 Node3D

There is currently no description for this class. Please help us by contributing one !

Propiedades🔗

float

fuse_time

1.0

float

bounce_velocity_modifier

0.24

Timer

fuse_timer

<unknown>

Métodos🔗

void

_ready()

void

_physics_process(delta: float)

Vector3

calc_bounce_velocity(_velocity: Vector3, hit_normal: Vector3)

Vector3

mirror_vector_by_normal(_velocity: Vector3, hit_normal_unit_vector: Vector3)


Property Descriptions🔗

float fuse_time = 1.0 🔗

The time before


float bounce_velocity_modifier = 0.24 🔗

There is currently no description for this property. Please help us by contributing one!


Timer fuse_timer = <unknown> 🔗

There is currently no description for this property. Please help us by contributing one!


Method Descriptions🔗

void _ready() 🔗

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!


Vector3 calc_bounce_velocity(_velocity: Vector3, hit_normal: Vector3) 🔗

This method computes projectile bounce velocity.


Vector3 mirror_vector_by_normal(_velocity: Vector3, hit_normal_unit_vector: Vector3) 🔗

This method computes reflected vector using the formula: R = V - 2 * (V dot N) * N