Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/divinedominion/godotcollisiondetection

Area2D an KinematicBody2D based collision demonstrations
https://github.com/divinedominion/godotcollisiondetection

area2d collision godot kinematicbody2d tutorial

Last synced: about 2 months ago
JSON representation

Area2D an KinematicBody2D based collision demonstrations

Awesome Lists containing this project

README

        

# Godot Collision Detection Demos

![](https://img.shields.io/badge/Godot-3.2-informational)

Currently, this demonstrates two kinds of player nodes:

1. `Area2D` and manual position changes, the naive approach that will "teleport" the player to the destination, clipping through walls;
2. `KineticBody2D` and `move_and_collide` to make the physics engine calculate collisions from the current position up to the destination.

You can

- 📼 [Watch a video recording](/assets/recording.mov)
- 👾 ["Play" it online](https://divinedominion.github.io/GodotCollisionDetection/)
- 📖 [Read an explanation on my blog](https://christiantietze.de/posts/2020/06/godot-hit-testing/)

## License

Public domain. See the [LICENSE](LICENSE) file.