• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by InteractivePie · May 11, 2015 at 12:12 PM · 2dphysics3dcollidersaxis

Is it required to use 3D physics when a 2D game uses the z axis?

I just started making a 2D game where you can rotate from view. (see image) So the camera can switch from Y and X axis to Z and Y in 2D orthographic mode. The objects in the Z and Y axis are also 2d sprites. I wonder, should I use the 2d physics engine because its actually a 2d game, or is this not possible because im using Z and Y also, if this is possible, how would i change the axis used in 2d?. Or should I use the 3d Physics engine with 2d sprites?

alt text

schermafbeelding-2015-05-09-om-133518.png (35.4 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Bunny83 · May 11, 2015 at 12:18 PM

You can't "changed the axis" in 2d. What you could try is to rotate your whole world so it alighs with the x-y plane. 2d physics is only in the x-y plane. However since everything 2d physics related happens in the x-y plane things "in the depth" might overlap stuff in the front and cause problems. Depending on how an actual level will look like i would suggest using 3d physics since your game is not a 2d game but a 2.5d game.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

WebGL Build bugged Colliders 0 Answers

2D collider from image to interact with 3D objects 1 Answer

Negate a Single Collision 1 Answer

Using a sprite sheet in a 3d enviroment? 0 Answers

Physics - strange jumps. 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges