Unity中抛物线轨迹实现方法
有时一些项目中要实现导弹的发射轨迹,一种是抛物线,另一种是折线。
最终实现了效果:
可以参考了这样的一些不错的文章:
Unity C# Calculates Missile Parabolic Trajectory and Steering
Projectile Motion Tutorial for Arrows and Missiles in Unity3D
Arcing Projectiles in Unity
TrajectoryTutorial v2.0
stackoverflow links