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 / How to control a machine.

Author
Message
Eduardo Henrique
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Brazil
Posted: 15th Feb 2009 02:46
Dear friends,
I do a simulator for excavators. I use just math to do all. But now I want to use physics..
Se a demo in
www.bit9.com.br/ES.exe
But to do this I need to control a joint angle, as I do with the limb angles. But when Im using phy I cant control...
Anybody know how I can control a joint ? I try using
phy set revolute joint limit
but this dont work... I need to control like kinematics, manualy, but control a joint angle...
Anybody know how to do this ???
For example, if you have a thank, and you need to set position of the cannon using a number. Ex 30 degrees... If I aply a force I can move this, but how to go directly to 30deg ???

Thanks !!!
Edu.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 15th Feb 2009 11:54
A question

1. Are you using a 3D model with limbs?

Dark Physics makes any hot drink go cold.
Eduardo Henrique
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Brazil
Posted: 15th Feb 2009 14:55
For this test no.
I already use, but my machine have some pieces like pistons (its a excavator) and I cant solve the problem to move all automaticly with limbs. The Im now using just math. With math I calculate the 3d point of the correct point on arm1 and arm2 where the hydraulic piston touch and put one object at one pointed to other.
The new version of math use euler's rotation to do this.
This: www.bit9.com.br/ES.exe use just vectors calculations.
and This: www.bit9.com.br/CF.exe use Euler's rotation.
Now Im thinking to implement Euler to ES. But if I can solve this problem with physics will be very easy.
Very thanks,
Edu.

Bit9 - www.Bit9.com.br
Eduardo Henrique
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Brazil
Posted: 25th Feb 2009 02:57
Im back to Euler...
I cant control using joints and physicx.
Im afraid thats its impossible.
If possible, its a big chalenge...
Eduardo.

Bit9 - www.Bit9.com.br

Login to post a reply

Server time is: 2024-11-24 20:01:06
Your offset time is: 2024-11-24 20:01:06