feat(physics): port retail projectile integration
Add a pure Core projectile driver for retail clock quanta, final-state acceleration, 50-unit velocity clamping, world-space angular integration, full-3D AlignPath, and oriented Setup-local sphere sweeps. Preserve exact success versus set_frame-only failure semantics, independent Contact/OnWalkable state, and full-cell identity across all landblock directions. Port OBJECTINFO::missile_ignore with explicit weenie/creature metadata, remove the invented transition-step cap, retain PathClipped without arming PerfectClip, and keep authoritative target identity optional. Add malformed-shape/clock, thin-wall, terrain, target-exclusion, frame-spike, failure-state, and boundary conformance coverage. Retire TS-2 and synchronize the architecture, milestones, roadmap, research oracle, and durable physics memory. Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
parent
542dcfc384
commit
f02b995e4f
21 changed files with 1669 additions and 263 deletions
|
|
@ -34,4 +34,21 @@ public readonly record struct ResolveResult(
|
|||
/// start cell or was immediately stuck. The camera <c>SweepEye</c> reads this
|
||||
/// to trigger <c>SmartBox::update_viewer</c>'s fallbacks. Default <c>true</c>
|
||||
/// so existing callers are unaffected.</summary>
|
||||
bool Ok = true);
|
||||
bool Ok = true,
|
||||
/// <summary>
|
||||
/// Final transition orientation. Projectile callers consume the
|
||||
/// interpolated frame committed before a PathClipped collision; legacy
|
||||
/// point/capsule callers leave this at identity and ignore it.
|
||||
/// </summary>
|
||||
Quaternion Orientation = default,
|
||||
/// <summary>
|
||||
/// Exact retail SetPositionInternal contact-plane-valid result. This is
|
||||
/// distinct from <see cref="OnWalkable"/>: a steep surface may be contact
|
||||
/// without being ground.
|
||||
/// </summary>
|
||||
bool InContact = false,
|
||||
/// <summary>
|
||||
/// Exact retail walkability result after testing the contact-plane normal
|
||||
/// against <see cref="PhysicsGlobals.FloorZ"/>.
|
||||
/// </summary>
|
||||
bool OnWalkable = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue