scp-fs2open / scp-fs2open/fs2open.github.com

Weapon Object Radius is Ignored for Ship-Weapon Collision Checks

Open
#4,386 3 comments 0 reactions 0 assignees View on GitHub
bug mantis physics
Dominant language
C++
Stars
487
Forks
184
Avg merge
3d 9h
Merged PRs (30d)
44

Description

Migrated from Mantis http://scp.indiegames.us/mantis/view.php?id=3169

Originally submitted by @z64555
> This is a phenomenon most notable in mods where munitions have a significant difference in size from FS2 weapons (Think big bullets and missiles here). All weapons are treated as if they have the same size, regardless of their representative .pof radius and/or @Laser Head Radius.
>
> Mod a laser weapon to have a significantly large Head Radius (we'll go with 5.0)
> Mod a laser weapon to use a .pof, presumably that of a sphere of radius 5
>
> Shoot a standard laser at a dummy ship target and find a point where it'll *just* miss hitting its hull. The shield shouldn't interact with it.
>
> Switch to the modded lasers and perform the same test. What *should* happen is that the larger size of the weapons would trigger a collision, and thus impact the shield and/or hull.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.