As my initial idea i wanted to use simulate physics for a grenade, so that i can have the grenades bouncing off the surfaces or splitting in more projectiles as it hits a surface.
However, i decided to change it to a homing projectile using stuff that i learnt from the tutorial, however the obstacle was that the tutorial only showed how to home on a single target ( set before the game starts), which makes it impossible to change within the game. In order to overcome that obstacle i decided to use the line trace to set a target for a projectile to hit, and after a small delay the projectile with home onto a target using a projectile moving. As a result I combined two ways of making a projectile for a weapon and created a system weapon for my gun.
Particle ideas for my weapon:
No comments:
Post a Comment