Panda3D.Framework.Physics
0.1.0-preview.13
dotnet add package Panda3D.Framework.Physics --version 0.1.0-preview.13
NuGet\Install-Package Panda3D.Framework.Physics -Version 0.1.0-preview.13
<PackageReference Include="Panda3D.Framework.Physics" Version="0.1.0-preview.13" />
<PackageVersion Include="Panda3D.Framework.Physics" Version="0.1.0-preview.13" />
<PackageReference Include="Panda3D.Framework.Physics" />
paket add Panda3D.Framework.Physics --version 0.1.0-preview.13
#r "nuget: Panda3D.Framework.Physics, 0.1.0-preview.13"
#:package Panda3D.Framework.Physics@0.1.0-preview.13
#addin nuget:?package=Panda3D.Framework.Physics&version=0.1.0-preview.13&prerelease
#tool nuget:?package=Panda3D.Framework.Physics&version=0.1.0-preview.13&prerelease
Panda3D.Framework.Physics
Panda's collision system exposed as an explicit traverse plus typed C# observables of the engine's own CollisionEntry objects — instead of direct's "%fn-into-%in" string-event callbacks. It is the collision layer of Panda3D.Framework.
Solids, masks, and handlers stay the native Panda types (CollisionNode, CollisionSphere/Ray/Box/…, BitMask32, CollisionHandlerPusher/Floor/Gravity); this package adds the world, the observables, and query/ray helpers.
Provides
AddCollision(autoTraverse = true)— registersICollisionWorld, theresetPrevTransformtask (fluid-motion bookkeeping), and, by default, the per-frame traverse of the scene root at the collision slot.ICollisionWorld—Add/Removea from-collider;AddPusher/AddFloor/AddGravityfor physical responses (observables still fire);AddQuery,Raycast,Pick;Traverse;Entered/Again/Exitedobservables;ShowColliders/HideColliders; nativeTraverser/Handlerescape hatches.CollisionEntryStreams—.By(...)/.Into(...)filters over the streams, matching aNodePathor a node name (the observable answer to%fn/%in).ICollisionQuery— a persistent query on the shared traverse:Hits,Nearest,NearestInto(name).RaycastHit— one-shot ray/pick result (Into,SurfacePoint,SurfaceNormal,Distance).StripToCollision()— reduce a loaded model to just itsCollisionNodes in place.
services.AddCollision();
// ...
var world = sp.GetRequiredService<ICollisionWorld>();
// Register a from-collider (its node is a native CollisionNode).
world.Add(player);
world.Entered.Into("hazard").Subscribe(e => TakeDamage(e.GetSurfacePoint(scene.Root)));
// Physical response and observables together — the pusher still feeds the streams.
var pusher = world.AddPusher(player, ralph.Node);
// One-shot pick ray through a camera.
RaycastHit? hit = world.Pick(camera, mouseX, mouseY, scene.Root);
Part of Panda3D.Framework; the Panda3D.Framework umbrella package pulls in every library plus the bindings and native runtimes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Panda3D.Async (>= 1.11.0-preview.6)
- Panda3D.Framework.Abstractions (>= 0.1.0-preview.13)
- Panda3D.Framework.Events (>= 0.1.0-preview.13)
- Panda3D.Framework.Scheduling (>= 0.1.0-preview.13)
- Panda3D.Interop (>= 1.11.0-preview.4122)
- System.Reactive (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Panda3D.Framework.Physics:
| Package | Downloads |
|---|---|
|
Panda3D.Framework
The complete Panda3D.Framework: every feature library, the C# bindings, and the native runtimes. Reference this one package to build and run a game. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.13 | 74 | 8/3/2026 |
| 0.1.0-preview.11 | 82 | 8/1/2026 |
| 0.1.0-preview.5 | 62 | 7/20/2026 |