Paradise.Physics 0.6.1

dotnet add package Paradise.Physics --version 0.6.1
                    
NuGet\Install-Package Paradise.Physics -Version 0.6.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Paradise.Physics" Version="0.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Paradise.Physics" Version="0.6.1" />
                    
Directory.Packages.props
<PackageReference Include="Paradise.Physics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Paradise.Physics --version 0.6.1
                    
#r "nuget: Paradise.Physics, 0.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Paradise.Physics@0.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Paradise.Physics&version=0.6.1
                    
Install as a Cake Addin
#tool nuget:?package=Paradise.Physics&version=0.6.1
                    
Install as a Cake Tool

Paradise.Physics

Stateless collision/physics query library for Paradise Engine, modeled on Unity Physics (DOTS): no caches, no incremental state, no hidden mutability. CollisionWorld.Build is a pure function of its inputs; queries allocate nothing and are safe from any thread.

Phase 1 scope: static colliders + closest-hit queries.

  • Shapes: sphere, capsule (Y-aligned), box — fixed-size Collider tagged union.
  • Queries: CastRay, CastCollider (linear sweep), CalculateDistance.
  • Filtering: Unity-style CollisionFilter (BelongsTo / CollidesWith masks + GroupIndex override).
  • Narrowphase: analytic per-primitive raycasts; GJK distance (Voronoi simplex, core-shape + radius) with linear conservative advancement for shape casts.
  • Broadphase: linear AABB scan (static sets are small in phase 1); a BVH built on Paradise.BLOB's BlobTree is the planned upgrade behind the same API.

Conventions

  • Right-handed, Y-up, −Z forward, meters (System.Numerics math). No handedness conversion anywhere.
  • RigidTransform = rotation + translation only; fold scale into geometry before Build.
  • Ray starting inside a collider: hit at Fraction = 0, normal facing back along the ray.
  • Cast starting in contact/overlap: hit at Fraction = 0, normal = depenetration direction; never NaN.
  • Equal-fraction ties resolve to the lowest body index (order-deterministic results).

Determinism

Queries use scalar float arithmetic and MathF.Sqrt only — no transcendental functions. Same binary + same hardware ⇒ bit-identical results. Cross-ISA determinism is out of scope.

Deferred (phase 2+)

BVH broadphase, dynamics beyond rigid spheres (Dynamics/RigidSphereDynamics is the shipped solver), contact manifolds & EPA, compound/mesh/convex-hull colliders, collector variants (all-hits/any-hit), point-distance & AABB-overlap queries, rotational sweeps.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.1 0 8/3/2026
0.6.0 40 8/3/2026
0.5.2 123 7/20/2026
0.5.1 90 7/20/2026
0.5.0 90 7/20/2026
0.4.1 89 7/19/2026
0.4.0 87 7/18/2026
0.3.0 99 7/18/2026
0.2.0 94 7/18/2026