Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / keep dynamic box upright?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 3rd Jun 2007 02:59
how would i keep my dynamic box upright all the time while applying a local force to it?

like making it jump?
i want it to stay upright like a person.
Kendor
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location: Malta
Posted: 3rd Jun 2007 10:27
A simple solution is to set the angular velocity of the box to zero every loop, thus not allowing the object to actually rotate but will still move.



Additionally, you can also set the rotation to zero but this may create problems.

Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't know why.
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 3rd Jun 2007 17:01
thankyou! thats a good example
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jun 2007 21:58
You could also lower it's centre of mass, so that it would act more naturally, like a Weeble (Weebles Wobble but they dont fall down!)

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 3rd Jun 2007 23:38
ok thanks

Login to post a reply

Server time is: 2024-11-24 20:07:57
Your offset time is: 2024-11-24 20:07:57