Closed Alex2782 closed 10 months ago
I could not find RigidDynamicBody2D
in the version 3.0 documentation. I think node_name
should rather be renamed to RigidBody2D
.
@Alex2782 During Godot 4's development, RigidBody2D was renamed to RigidDynamicBody2D and then renamed again back to RigidBody2D, so yes you can replace RigidDynamicBody2D with RigidBody2D.
@aaronfranke The example for 'one-way collision' should be ready.
RigidBody2D
Constrols
/ HSlider
(could also still be incorrect in other examples)CharacterBody2D
move_and_collide (docs: velocity vector multiplied by the frame timestep delta
)new size (Label = 120px, LabelValue = 60px)
For comparison, the size at 0px
tests: v4.1.1.stable.official [bd6af8e0e]
v4.1.1.stable.official [bd6af8e0e]
The example is very complex, I am not sure if more changes are needed. (So far I have adjusted only one line)
"TEST OPTIONS":
https://github.com/godotengine/godot-demo-projects/assets/41921395/c84b39b2-5de8-4775-9b81-be6d7f8dc872