Repository navigation
en physics roadmap
nullus-docs-bot edited this page Oct 14, 2026
·
4 revisions
中文 | English | Docs | Repository
This page states the current state of physics and interaction, the gaps, and the dependencies.
- The project file has a
gravitykey for global gravity acceleration. - The component update loop includes the fixed-step phase
OnFixedUpdate, so scripts can run logic on a fixed step. -
TimeexposesfixedDeltaTime(default0.02) andmaximumDeltaTime(default0.1) plusfixedFrameCountfor deterministic logic.
- No rigid bodies, colliders, triggers, raycasts, or shape queries
- No collision detection or solver, no friction or restitution
- No character controller
- No physics debug visualization or physics materials
gravity is currently a configuration value, not an input consumed by a solver.
| Capability | Goal |
|---|---|
| Collision shapes | Box, sphere, capsule, convex hull, and triangle mesh |
| Rigid bodies | Mass, damping, kinematic and dynamic modes |
| Detection and solving | Contact generation, constraint solving, friction, restitution |
| Queries | Raycasts, sweeps, and overlap queries |
| Triggers | Enter, stay, and exit events without a physical response |
| Scene query interface | Cooperation with the scene hierarchy and spatial index |
| Character controller | Capsule-driven movement, ground detection, steps, and slopes |
| Debug visualization | Show colliders and contacts in the editor viewport |
- Physics needs a third-party solver or a self-written kernel with an explicit boundary. Choosing the solver is an architecture decision and must not be left to whoever implements it.
- Fixed-step updates already exist, so stepping can hook into that phase; substeps and interpolation are what still need defining.
- Physics objects must cooperate with the spatial index so queries never degrade into full-scene scans; see Visibility and Occlusion.
- Physics components are new reflected types that must be wired into serialization and the Inspector per Reflection and Serialization.
- Once physics API enters the scripting manifest, both C# and Lua bindings are generated from that one manifest; see the Scripting API Reference.
- A kinematic character controller can land before a full solver exists, but it shares shapes and queries with physics, and duplicating that infrastructure creates two competing sets of semantics.
Dynamic character control depends on a physics solver; kinematic control first needs shapes, sweeps, and collision queries. Animation state machines coordinate presentation and are not prerequisites for kinematic controllers. The two implementation paths can interleave; see Animation Status and Plans.
This page describes goals and dependencies, not a schedule. When implementation status changes, the Feature Status Matrix and the source are authoritative.
- Lifecycle and Activation for fixed-step callback timing.
- Feature Status Matrix for the cross-domain overview.
Nullus Engine
中文
- 认识 Nullus
- 安装与快速入门
- 使用编辑器
- 场景与对象
- Prefab 工作流
- 资产与内容管线
- 渲染、材质与光照
- 大场景与资源管理
- 游戏逻辑与脚本
- 用户界面
- 动画与角色
- 物理与交互
- 音频、特效与媒体
- AI 与联网
- 平台、构建与发布
- 扩展与引擎架构
- 调试、性能与质量
- 参考手册
- 示例与发展路线
English
- Getting to Know Nullus
- Install and Quick Start
- Using the Editor
- Scenes and Objects
- Prefab Workflow
- Assets and Content Pipeline
- Rendering, Materials, and Lighting
- Large Scenes and Resource Management
- Gameplay and Scripting
- User Interface
- Animation and Characters
- Physics and Interaction
- Audio, Visual Effects, and Media
- AI and Networking
- Platforms, Builds, and Releases
- Extending the Engine
- Debugging, Performance, and Quality
- Reference
- Examples and Roadmap