Jump to content

Collision and 2D


drarem
 Share

Recommended Posts

I want to use addforce to an object, but want to keep it 2d. For example, if i have an egg-shape and want to move it around by adding forces, if it hits part of the terrain or a box, it rotates out of control and/or moves into the 3rd dimension, thereby making it where you can see the entire level either more or less. This destroys the 2d immersion. Or even in 3D, the controlled object spins out of control if it hits a cube or other part of scene.

 

if i try using setposition, i'm thinking the physics wont work on it.

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...