脚本/功能 【更新】PhysKit: Ballistics 1.1物理弹道

Unity插件信息
插件名称: PhysKit: Ballistics
插件官网: https://assetstore.unity.com/packages/tools/physics/physkit-ballistics-251081
版本: 1.1
解压密码:
素材类型: 脚本/功能










Ballistics API: PhysKit:
Ballistics offers an easy-to-use Ballistics API that enables developers to perform 2D or 3D calculations, determine flight time, perform ray casting for collision detection, and more. The API goes beyond simple parabolic trajectory calculations and allows developers to dictate arc height and flight speed. The API returns initial velocity and gravity to meet the desired flight path as a physically simulated object, enabling developers to meet the demands of design teams, whether or not those demands conform to traditional physics.

Trick Shot component:
The Trick Shot component is an easy-to-use feature that can be added to a GameObject for predicting the path of a projectile, launching it, and managing it along its path with standard collision detection. With this component, developers can ensure that the path is followed while also handling moving objects. This feature is perfect for puzzle games featuring a shooting mechanic.

Path Line tool:
The Path Line tool extends the Trick Shot component to draw the predicted path with a standard Unity Line Renderer suitable for both 3D and 2D paths. This tool allows developers to visualize the predicted trajectory of the projectile, making it easier to fine-tune the path. The Path Line tool is an ideal tool for both novice and experienced developers, who can benefit from its ability to create custom trajectories quickly and easily.

Ballistic Aim
The Ballistic Aim component can be added to a game object and used to control the rotation of pivots simulating a turret aiming along a ballistic path with configurable projectile settings.

Ballistic Targeting
Working with Ballistic Aim the targeting component will automatically update the aim component with the position and where the available movement of a given target enables code-free tracking and targeting of targets.


弹道 API: PhysKit:
弹道学提供了一个易于使用的弹道学 API,使开发人员能够执行 2D 或 3D 计算、确定飞行时间、执行光线投射以进行碰撞检测等。该 API 不局限于简单的抛物线轨迹计算,还允许开发人员决定弧线高度和飞行速度。API 返回初始速度和重力,以满足作为物理模拟对象的所需飞行路径,使开发人员能够满足设计团队的要求,无论这些要求是否符合传统物理学。

Trick Shot 组件:
Trick Shot 组件是一种易于使用的功能,可添加到游戏对象中,用于预测抛射体的路径、发射抛射体,并通过标准的碰撞检测对抛射体的路径进行管理。有了这个组件,开发人员就可以在处理移动物体的同时,确保轨迹得到遵循。该功能非常适合具有射击机制的益智游戏。

路径线工具
路径线工具扩展了 "诡计射击 "组件,可使用标准的 Unity 线条渲染器绘制预测路径,适用于 3D 和 2D 路径。开发人员可以通过该工具直观地看到弹丸的预测轨迹,从而更容易对路径进行微调。路径线工具是新手和经验丰富的开发人员的理想工具,他们可以利用该工具快速、轻松地创建自定义轨迹。

弹道瞄准
弹道瞄准组件可添加到游戏对象中,用于控制枢轴的旋转,模拟炮塔沿着弹道路径瞄准,并可配置弹丸设置。

弹道瞄准
使用弹道瞄准组件时,瞄准组件将自动更新瞄准组件的位置,以及给定目标的可用移动位置,从而实现无代码跟踪和瞄准目标。





作者 cg小白兔 发表于 2024-5-6 14:45:20
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布7500

热门作品推荐
glow
568张工笔花卉白描线描图集1.25G花鸟植物线
glow
【更新】World Map Globe Edition 2 19.2交
glow
【更新】World Map Strategy Kit 2 16.0
glow
【更新】Feel 5.2
glow
116册芥子园画谱全集15个版本康熙古籍原版
glow
中国风写实武侠风主城建筑中国古城模型场景
glow
92个树干疤痕zbrush笔刷植物树木细节雕刻树
glow
表面高度贴图ZBrush/Mudbox/SP 5 DEM Surfa
glow
石头裂缝纹理画笔Zbrush - Stone Cracks Vo
glow
石头裂缝裂痕墙壁裂纹画笔Zbrush - Stone C