Announcement

Collapse
No announcement yet.

Projectile won't stay after it has been thrown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Projectile won't stay after it has been thrown

    Edit: after literally hours of looking I saw a variable called Lifespan in the projectile class... So my problem is solved

    Hello,

    I've got another problem with my Rock, you can throw it and it does damage to the player if it hits, then it lies on the ground when it's velocity is 0, only when it lies on the ground for a while it disappears.

    It ultimately extends the projectile class, does anyone know what I need to do to make projectiles stay after they have been fired? I tried looking at the grenade launcher and the spider launcher but I couldnt find out what i needed to do.

    I also tried overriding the Explode class, the processtouch class, the destroyed class and alot more. Can anyone help me with this?
Working...
X