素材 UNITY3D 简单抓钩系统 Grapple hook
金币:¥5.006年5个月24天10小时15分前
素材源自国外。其中除了一个简单的抓钩系统外,还包含一个悬挂DEMO,代码简单易懂,适合二次创作。
The "Test" scene has the shooter firing the grappling hook and getting (quickly) "pulled" to the platform above. Actually it is just being lerped to the grappling hooks position.
And because it is going so fast it actually goes through the platforms geometry.
"Test2" is just a simple pendulum setup.
The "Test3" might look light the grappling hook is pulling the shooter, but really I'm just using addForce, and the shooting and lineRenderer sc ript from above. The addForce's on the shooter is basically doing the same thing that Super Mario did when he was swimming.
The "Test" scene has the shooter firing the grappling hook and getting (quickly) "pulled" to the platform above. Actually it is just being lerped to the grappling hooks position.
And because it is going so fast it actually goes through the platforms geometry.
"Test2" is just a simple pendulum setup.
The "Test3" might look light the grappling hook is pulling the shooter, but really I'm just using addForce, and the shooting and lineRenderer sc ript from above. The addForce's on the shooter is basically doing the same thing that Super Mario did when he was swimming.
6年5个月24天10小时15分前 下载(12)个