Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Fix player movement in sprite_dungeon example #99

Merged
merged 7 commits into from
Jan 19, 2021

Conversation

darthdeus
Copy link
Contributor

It's definitely not ideal since you probably don't want to move a dynamic rigidbody by setting its transform, but at least it makes the movement work.

@joshuajbouw joshuajbouw merged commit acdd0bc into joshuajbouw:physics Jan 19, 2021
joshuajbouw added a commit that referenced this pull request Jan 19, 2021
* Fix player movement in sprite_dungeon example

* Specify translation on rbd instead of on collider

* Fix wall interactions + dwarf movement

* Only spawn colliders on layers with non-zero InteractionGroups

* Multiply move_velocity by dt + minor fixes

* Fix collider spawn

* cargo fmt

Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
@darthdeus darthdeus deleted the sprite-dungeon-fixes branch January 20, 2021 00:39
joshuajbouw added a commit that referenced this pull request Jan 20, 2021
* // WIP

* Fix player movement in sprite_dungeon example (#99)

* Fix player movement in sprite_dungeon example

* Specify translation on rbd instead of on collider

* Fix wall interactions + dwarf movement

* Only spawn colliders on layers with non-zero InteractionGroups

* Multiply move_velocity by dt + minor fixes

* Fix collider spawn

* cargo fmt

Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>

* Topology and interaction group check

* Rename sprite_dungeon to physics_dungeon

* Remove rigid body from Chunk

* Add docs

* cargo fmt

* Fix tests

* Update examples/README.md

Co-authored-by: Jakub Arnold <darthdeus@gmail.com>
@joshuajbouw joshuajbouw added the enhancement New feature or request label Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants