mirror of
https://github.com/GDQuest/godot-platformer-2d.git
synced 2026-01-23 02:14:19 +00:00
Add precision to the RigidBody2D prototype notes
This commit is contained in:
parent
d21efdce14
commit
917636a40a
1 changed files with 3 additions and 1 deletions
|
|
@ -147,12 +147,14 @@
|
|||
|
||||
We have two options to handle the character's motion: controlling the physics ourselves with ~KinematicBody2D~, or relying on the Bullet physics engine with ~RigidBody2D~.
|
||||
|
||||
I expect that using Bullet will reduce our control on the character's motion, and that would lead to a different game feel and gameplay down the line: we could have the character hit objects, etc.
|
||||
I expect that using Bullet will reduce our control on the character's motion, and that would lead to a different game feel and gameplay down the line: we could have the character hit objects and make them fall using physics, etc.
|
||||
|
||||
It's worth trying only to see if we can't make a game that feels as good or to avoid some code-related challenges.
|
||||
|
||||
You can use the existing hook mechanism almost as-is for this test, as it gives you a direction to hook to. The only element that has to change is the character.
|
||||
|
||||
The goal is to see if we can build a good hook movement with rigidbody2d, as good as with KinematicBody2D. See the questions below.
|
||||
|
||||
*** Questions
|
||||
|
||||
- What are the advantages of RigidBody2D in practice?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue