|
Re: Humans, the physical entities
[Re: Lord Alexion]
#24248
03/17/04 02:14
03/17/04 02:14
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Quote:
so, does anyone out there know any resources, tutorials, or can offer a quick crash course in how to use the physics engine to achieve a natural-looking walking/jumping motion?
eeeek...as limited as the current implementations of the 3DGS PE are, I don't know of any such papers that are 3DGS specific.
I use the PE for my characters movement and it's nothing fancier than making sure you have friction set to around 20 (so your entity doesn't shoot out an go unstable) and just apply a force or torque to your entities center.
Add a little walking animation (the PE system is separate from any animation code) and my walking player moves and looks fine.
|
|
|
Re: Humans, the physical entities
[Re: Lord Alexion]
#24250
03/17/04 04:07
03/17/04 04:07
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
use phent_addlocalforce with a nullvector as to where to apply the force.
Depending on your friction, your force may not be enough to move you and when you move it may keep you at const. Velocity. With no friction, you would continue to gain velocity as long as you continued appling a force.
To stop, simply increase the Drag dramatically...I've found this to be a good way to stop a physics ent.
Finally, to jump, use the same phent_addforcelocal, but with a vector like (10,0,100), which tells it to apply a force forwards and up, a jump!
|
|
|
Re: Humans, the physical entities
[Re: fastlane69]
#24256
03/17/04 12:15
03/17/04 12:15
|
Joined: Mar 2002
Posts: 60 São Paulo, Brazil
Lord Alexion
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2002
Posts: 60
São Paulo, Brazil
|
well, the full extent of my application would be a bit large to explain in here, but the general idea is like this: have you ever seen or played tactical battle RPGs? the best examples of this kind of game are found in old Genesis games like Shining Force and the well-known PSX game Final Fantasy Tactics. My application would be an online version of those games, aimed at making tactical duels over the net, or even team battles, with each player controlling one char.
I'm aiming for a general graphical line that resembles Final Fantasy Tactics, with an isometric view and 2D anime-like chars, with a very "asian console game" feeling. Are you following me so far?
|
|
|
|