问题
Is it possible to use Physics 2D components(rigidbody2d,collider2d..etc) on 3d Game objects. I am planning develop 2 game with some of 3d model.
Thanks!
回答1:
It is not, however what you can do with rigidbody3d is lock the physics movement and rotation on it. For example, if you only ever wanted it to move along the x and y axis of your game, in the inspector just tick the freeze z movement box for the rigidbody component.
来源:https://stackoverflow.com/questions/27058919/apply-physics2d-to-3d-game-objects-unity3d