Difference between revisions of "love.physics (简体中文)"
m |
Xcantloadx (talk | contribs) (移除失效链接,修改内容) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{newin (简体中文)|[[0.4.0]]|040|type=模块}} | |
− | + | love.physics 能够真实地模拟 2D 刚体的物理性质。这个模块基于 [http://www.box2d.org/ Box2D], 并且这个 API 尽量接近于 [http://box2d.org/about/ Box2D API]。 | |
− | + | ||
+ | {{notice|Box2D 是十分复杂的,如果你只是想模拟简单的效果(如跳跃、简单障碍等),请使用 [https://github.com/love2d-community/awesome-love2d#physics 这里] 提供的模块}} | ||
== 类型 == | == 类型 == | ||
− | {{#ask: [[Category:Types]] [[parent::love.physics]] [[ | + | {{#ask: [[Category:Types]] [[parent::love.physics (简体中文)]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
− | == | + | == 函数 == |
− | {{#ask: [[Category:Functions]] [[parent::love.physics]] [[ | + | {{#ask: [[Category:Functions]] [[parent::love.physics (简体中文)]] [[Concept:Current]] |
+ | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
+ | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
+ | }} | ||
+ | == 枚举 == | ||
+ | {{#ask: [[Category:Enums]] [[parent::love.physics (简体中文)]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
− | == | + | |
− | * [[parent::love]] | + | == Box2D 结构预览 == |
− | * [[Tutorial:Physics]] | + | |
− | [[ | + | [[File:Box2D basic overview.png|880px]] |
− | {{#set:Description= | + | |
− | {{#set:Since= | + | == 参考 == |
− | == | + | * [[parent::love (简体中文)]] |
+ | * [[Tutorial:Physics (简体中文)]] | ||
+ | * [[Tutorial:PhysicsCollisionCallbacks (简体中文)]] | ||
+ | * [http://www.iforce2d.net/b2dtut/gotchas Box2D C++ 英文教程] | ||
+ | * [https://www.cnblogs.com/xdao/archive/2013/01/26/love2d-tutor17.html love2d教程17--物理引擎1] | ||
+ | * [https://www.jianshu.com/p/0e70a64547b3 laya2.0 box2d系列一 基础概念和刚体] | ||
+ | |||
+ | [[Category:Modules]] | ||
+ | {{#set:Description=能够真实地模拟2D刚体的物理性质。}} | ||
+ | {{#set:Since=040}} | ||
+ | {{#set:PrettySince=0.4.0}} | ||
+ | == 其他语言 == | ||
{{i18n|love.physics}} | {{i18n|love.physics}} |
Latest revision as of 12:12, 14 July 2019
自 LÖVE 0.4.0 可以使用 |
此 模块 在早期版本中不受支持. |
love.physics 能够真实地模拟 2D 刚体的物理性质。这个模块基于 Box2D, 并且这个 API 尽量接近于 Box2D API。
Box2D 是十分复杂的,如果你只是想模拟简单的效果(如跳跃、简单障碍等),请使用 这里 提供的模块 |
类型
函数
枚举
Box2D 结构预览
参考
- love (简体中文)
- Tutorial:Physics (简体中文)
- Tutorial:PhysicsCollisionCallbacks (简体中文)
- Box2D C++ 英文教程
- love2d教程17--物理引擎1
- laya2.0 box2d系列一 基础概念和刚体
其他语言
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info