2D Physics in a 3D Context: My First Card Game!


It was very fun for me to create my first ever card game in Unity!


It was also the first time I used 2D Physics in a 3D context!  
Which if you didn't know, is completely possible in Unity and can be very useful in a Jam context. The 2D physics being much easier to setup and use, it was the perfect solution for a card game.


However, this caused one major change:
The 2D colliders will only be working in the XY axis, no matter the rotation of the object it seats on. So, the card being flat on the table means their 2D collider cannot work straight away!

Easy enough to fix, I put everything under a parent object including lights and cameras, and rotated that object 90 degrees!


Luckily I didn't have to use the skybox nor the gravity...

Get Sacrifice - The Card Game

Leave a comment

Log in with itch.io to leave a comment.