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 / Dark Physics and Dark AI?

Author
Message
CSGames94
16
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 27th Sep 2008 01:10
Is it possible to use dark ai on a 3d game model and set it as a rigid body, so it can interact with cloth objects and other things.
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 27th Sep 2008 01:59
Havent tested much on that but i would believe that you could make a placeholder dynamic object to position and rotate to the ai model.


http://bergice.blogspot.com/ << Please enter my blog and click ads
Demos,Examples,Tutorials,Portfolio
Random color object
16
Years of Service
User Offline
Joined: 14th Aug 2008
Location: Montreal Canada
Posted: 27th Sep 2008 12:30
Master13 Tell us about your progress, I am still learning Dark Physics, after I will get to Dark AI and it is something I want to try too.
But this can be read in character controler seciton
Character Interations:

For game play reasons, you might want to prevent the character from pushing a particular box (that would be key to game play), even if the physics says the character is strong enough to push it.

Quote: "

Currently supported actions are:



none => disable physics (the character won't push the object)


push => enable physics (the character will push the object)


It is tempting to let the physics engine push objects "naturally", applying forces to usual contact points. However it's often not good for game play. The bounding volume around characters are artificial (boxes, spheres, etc) and you don't want the pushing effect to change when you switch from a box controller to a capsule controller! You usually want a pushing effect dictated by game play. So it might actually be better to apply artificial forces to objects in the callback. It is also difficult to push a box forward with a capsule: since you never hit the box exactly in the middle, applied force tends to rotate it – even if all you want is to push it in a straight line.



IMPORTANT: push is currently not implemented. In the sample we apply artificial (game play-tweaked) forces to objects in the callback, using provided impact data (position, etc)."


good luck

-Win XP SP3 -P4 3go/Ge Force 9600 GT driver 178.13
PhysX 08.09.04
DBP + Dark A.I. + Dark Physics + Easy Rotate + enhancement + Sprite Packe
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 27th Sep 2008 14:36
Yes, it is possible. I use a kinematic object instead of a character controller. It pushes things around nicely. To keep it from pushing large items I use sliding collision. You have 100% control over the positioning of the kinematic object.


Come see the WIP!

Login to post a reply

Server time is: 2024-11-09 16:24:48
Your offset time is: 2024-11-09 16:24:48