spicylobstergames / astratomic

Survival game inspired by Noita and Starbound, fueled by Rust and Bevy.
Other
102 stars 8 forks source link

Atoms interaction with Rigidbodies #65

Closed Zac8668 closed 10 months ago

Zac8668 commented 10 months ago

This is almost completely done with #62 The way we do this is by getting each atom from the rotated sprite before the simulation step, for each one that is not empty we put a Object atom just to have collision.

The rotated sprite still doesn't match sometimes with the Object atoms for some reason. Pretty rare, we can fix it later if it becomes a problem.