drarem Posted November 18, 2015 Posted November 18, 2015 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. Quote
Josh Posted November 18, 2015 Posted November 18, 2015 http://www.leadwerks.com/werkspace/page/api-reference/_/entity/entityphysicssetposition-r190 http://www.leadwerks.com/werkspace/page/api-reference/_/entity/entityphysicssetrotation-r189 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
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.