脚本/功能 【更新】Projectile Toolkit - Targeting and Trajectory Prediction 2.0

Unity插件信息
插件名称: Projectile Toolkit - Targeting and Trajectory Prediction
插件官网: https://assetstore.unity.com/packages/tools/physics/projectile-toolkit-targeting-and-trajectory-prediction-216129
版本: 2.0
解压密码:
素材类型: 脚本/功能













Want to implement game mechanics based on projectile motion? Want enemy AI to use ranged weapons such as cannons, rocks or arrows to accurately hit targets? Want to have full control over jump motion of objects in games or animations without losing their physical properties? This toolkit has got you covered!

Projectile Toolkit is a physics toolkit that solves two key problems related to projectile motion: targeting algorithms for gravity-affected rigidbodies to hit the specified target, and trajectory prediction algorithms that predict and render the trajectory of a rigidbody.

Projectile Toolkit is extremly easy to use, and can be quickly integrated into existing projects.

Features:
- Flexible and Easy to Use, the core API is carefully-designed static methods, can be called directly from your scripts
- Super Fast, most algorithms don't even touch trigonometric functions
- Works in both 3D and 2D, (works in 2D if only your game treats y as up axis)
- Works on all build platforms
- Plenty of inspirational demos (currently 3 demo scenes and 1 game). Great for both learning this toolkit and quick prototyping
- Full source code
- Detailed documentation

Bonuses:
Useful game toolkits such as:
★ explosion system
★ simple top-down character controller (character movement)

Technical details
Targeting algorithms:
Computation of a gravity-affected rigidbody to hit the specified target. Extremely easy to use, you just specify start point, end point, and one of the following:
Computes the launch Velocity by:
- Angle
- Height
- Time
- a coefficient of the quadratic function
- Speed
Computes the launch angle by:
- Speed
(NEW in 1.1) Computes the max range by:
- Elevation and Speed


想要实现基于弹射运动的游戏机制?想让敌人的人工智能使用大炮、石块或箭矢等远程武器准确击中目标?想完全控制游戏或动画中物体的跳跃运动而不丢失其物理属性?本工具包可满足您的需求!

Projectile Toolkit 是一款物理工具包,可解决与弹射运动相关的两个关键问题:受重力影响的刚体击中指定目标的瞄准算法,以及预测和渲染刚体轨迹的轨迹预测算法。

Projectile Toolkit 非常易于使用,可快速集成到现有项目中。

特点
- 灵活易用,核心 API 是精心设计的静态方法,可直接从脚本中调用
- 速度超快,大多数算法甚至不接触三角函数
- 可在 3D 和 2D 环境中运行(如果您的游戏仅将 y 轴视为向上轴,则可在 2D 环境中运行)
- 适用于所有构建平台
- 大量启发性演示(目前有 3 个演示场景和 1 个游戏)。非常适合学习该工具包和快速制作原型
- 完整的源代码
- 详细文档

奖励:
实用的游戏工具包,如
爆炸系统
简单的自上而下角色控制器(角色移动)

技术细节
瞄准算法:
计算受重力影响的刚体以击中指定目标。使用极为简单,只需指定起点、终点和以下参数之一即可:
计算




作者 cg小白兔 发表于 2023-7-25 10:46:25

Jady

xxxxxxxxxxxxxxxxxx
发表于 2023-9-17 10:39:46
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布6988

热门作品推荐
glow
Finger Soccer Game Kit 2.0.2 指尖足球游
glow
Simple Space Interiors - Cartoon Assets
glow
Simple Military - Cartoon War 1.35卡通军
glow
Advanced Dissolve 2022.3 溶解
glow
Advanced Dissolve 2022.2 高级溶解透视切
glow
Wireframe Shader 2022.1 线框着色器插件
glow
118 sprite effects bundle 5.0火焰血液爆
glow
《穿墙透壁--剖视中国经典古建筑》手绘图民
glow
明代画家文徵明150幅绘画作品山水诗画兰竹
glow
实时动画渲染Reallusion iClone 8.02 + Cha