|
Post by MonstaWolf on Feb 23, 2016 18:29:23 GMT
Is there a way to force an object (such as a rigidbody) to remain upright yet still be able to move around?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Feb 24, 2016 13:13:33 GMT
i ran some tests and i have the sollution, 1. double click the rigid body in the editor to open its properties.. 2. in the physics section change linear damping value to 1 and angular damping value to 0 3. press ok i think this should help.. if you have any trouble or you don't get the process here are some screenshots.. and plz don't ask why i am using internet explorer(there were some reasons)
|
|
|
Post by MonstaWolf on Feb 24, 2016 13:20:47 GMT
Thanks, this will help
|
|
|
Post by kulu on Feb 25, 2016 15:23:31 GMT
Hi you can also set the friction of the rigid body to 0 . If you still want it to stay upright after colliding with another rigid body. Then you will have to set both rigid bodies' friction to 0. You can then control start and stop movements by showing and hiding the upright rigid body, using a 'event on input'. Ive done this myself for my own projects. Then to make the rigid body fall when it is not in contact with 'the ground' , use a 'event on contact' to 'show' the rigid body when it is not in contact with the ground. Its a dodgy trick. But it should work, with some trial and error
|
|
|
Post by TinSoldier on Feb 26, 2016 3:46:59 GMT
What i did once is in your modeler place the rigidbody mass below the centerpoint of the object so it sits below 0 on the Y axis. This allows the collison model to still interact with the ground but the mass keeps the rigidbody upright. the mass (green) creates a pendulum effect on the rigidbody (red) so it pivots . its very hard for the rigidbody to roll over and stay rolled over this way this may not work for you if the mass model is required to be more accurate for the physics side of things.
|
|
|
Post by NicusorN5 on Feb 26, 2016 13:12:19 GMT
What modeler do you use ?
|
|
|
Post by TinSoldier on Feb 28, 2016 20:59:46 GMT
What modeler do you use ? 3dsmax R3 & version 9 . but this should work in any modeler.
|
|