[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.4410463 [View]
File: 938 KB, 640x480, Very Fast Traccer Flying At Incredible Hihg Speed.webm [View same] [iqdb] [saucenao] [google]
4410463

Arduously rewrote the FastProjectile collision code with Vaecrius bullets as a template. Basically instead of checking collision in bazillion tiny increments the projectile shoots a hitscan in front of it each tick and checks if it hits anything. This allows for projectiles to fly at blistering speed without much performance impact.

The ones in this vid have a speed of 600. Also the trail spawning code now always spawns 10 trail actors and stretches them to fit no matter the velocity. Next step is to spawn 10 of them and keep track of the pointers so they can be warped rather than created anew each tick, further saving performance hopefully.

Navigation
View posts[+24][+48][+96]