In class we learned about three separate ways to create projectiles in Unreal Engine, Line Tracing, Spawn Projectile, and Spawn Physics actors, each tailored towards different types of weapons/other projectiles. For bullets, lasers and other more instantaneous-esc moment, line tracing proved to be the most effective, as it easily travels the fastest, but wouldn't be as accurate a projectile system as the projectile spawning system. The projectile spawn system is just how it sounds, pre-built with "fake physics" that are less taxing on the game engine, and allow for simplistic additions to how they interact with the game environment, other actors, etc; though it can be difficult to implement true physics with this projectile and the nature of it being pre-built means that once you break it, it becomes difficult to repair. The last actor is more very adaptable, but has to be built from the ground up, the "spawn physics actor" puts any SM through the physics engine
Comments
Post a Comment