Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arena barriers #4

Merged
merged 4 commits into from
Aug 4, 2021
Merged

Add arena barriers #4

merged 4 commits into from
Aug 4, 2021

Conversation

cdsupina
Copy link
Contributor

@cdsupina cdsupina commented Aug 1, 2021

Barriers are in place on the boundary of the window (we can move the side ones in when we add the side panels). Had a chance to explore the colliders and rigidbodies with rapier. Noteable changes:

  • Added four barriers on edges of window
  • Gave barriers and player zero friction
  • Gave barriers and player 1.0 restitution (bounciness)
  • Locked rotation of player
  • Made barriers static rigidbodies and the player a dynamic rigidbody

@cdsupina cdsupina added this to the Port to Bevy milestone Aug 1, 2021
@cdsupina cdsupina requested a review from tigleym August 1, 2021 23:15
@cdsupina cdsupina added this to In progress in Port to Bevy via automation Aug 1, 2021
@cdsupina cdsupina added the physics Relating to physics label Aug 2, 2021
@cdsupina cdsupina mentioned this pull request Aug 2, 2021
28 tasks
src/misc/spawn.rs Outdated Show resolved Hide resolved
src/misc/spawn.rs Outdated Show resolved Hide resolved
@cdsupina cdsupina requested a review from tigleym August 3, 2021 04:06
Copy link

@tigleym tigleym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! This works really nicely.

@cdsupina cdsupina merged commit bda4be3 into main Aug 4, 2021
Port to Bevy automation moved this from In progress to Done Aug 4, 2021
@cdsupina cdsupina deleted the cdsupina/arena_barriers branch August 4, 2021 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physics Relating to physics
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants