Complex character control ?

Share with us how are you using the powerrrr of the force

Moderator: Alain

Complex character control ?

Postby kikosmalltalk » Wed Apr 01, 2009 10:40 am

Hi All


I never work with character control and it emerges me a question.
How can one make to have the control of a character of the style of Prince of Percia?

For the topics that there is on character control in the forum, it doesn't seem to be anything easy . Right ?.

Is it used a ragdoll combination and character control?.


Advanced thanks.
kikosmalltalk
 
Posts: 31
Joined: Mon Dec 04, 2006 10:48 am
Location: Argentina

Re: Complex character control ?

Postby Dave Gravel » Wed Apr 01, 2009 11:22 am

The Prince of Percia compagny is very close of my home, I have already go to a open discussion about it.
The compagny have show many things about how it is make at my local tv station too.
They don't use only physics in this engine it is a lot of prerecorded animations.
They have work many years on this character and level game.

It's surely possible to done something similar from physics only, but you really need to come patient and make many try and errors before.
The trick is not only with character the game level have a lot of path too for this character reaction.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Complex character control ?

Postby kikosmalltalk » Wed Apr 01, 2009 12:23 pm

Hi Dave

Thanks to reply.
you wrote:
The trick is not only with character the game level have a lot of path too for this character reaction.

At the moment , I only look for to have a character that can walk, jump, run and fight against other enemies.
The interaction with the map is not priority, this can wait.

I see the ogreNewt ragdoll demo and newton character controler.
Do you believe that it is possible to only make this with character control?
Is it useful to use a ragdoll for this?.
A combination of both?
Are you able to tell me if there is in the web some example of this?

As well as newton has a vehicleJoint, it would be very useful to have a character control like this :D

Advanced thanks
kikosmalltalk
 
Posts: 31
Joined: Mon Dec 04, 2006 10:48 am
Location: Argentina

Re: Complex character control ?

Postby Dave Gravel » Wed Apr 01, 2009 1:22 pm

With Prince of Persia the game level is really important, for walk on wall make 360 jump or many fight situation and more...
No idea about the ogreNewt ragdoll.
Sure for mix character control with ragdoll it can come more complex but it's really possible, I don't see why not.

Is it useful to use a ragdoll for this?.

Not really ragdoll is more for have cool dead effect, if you like to make ragdoll animated from physics it's a lot more complex.

Are you able to tell me if there is in the web some example of this?

Newton 2 beta have already a character control implemented inside but I never have get times to test it, maybe you can take a look on.

This week-end I can connect my old computer, In this computer I have many experimental character control tests.
Maybe some of this tests can help you to progress.
I have one using 3 body + 3 joint and the effect is really cool, and I have some more basic tests too.
I can let's to you a pm when I have get the hand on my old tests this week-end.

Are you able to tell me if there is in the web some example of this?

I don't know if someone have already share some work about it.

PS:
I think you are not really at the good place for post question like this in the Gallery.
Board index ‹ Newton Game Dynamics ‹ Apprentices and Darth Masters Gallery
This topic is more for show user projects done or in progress.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Complex character control ?

Postby kikosmalltalk » Wed Apr 01, 2009 10:27 pm

Hi Dave

Ok, thanks.

This week-end I can connect my old computer, In this computer I have many experimental character control tests.
Maybe some of this tests can help you to progress.
I have one using 3 body + 3 joint and the effect is really cool, and I have some more basic tests too.
I can let's to you a pm when I have get the hand on my old tests this week-end.


I will be very grateful if you send me a demo or something for the style


Newton 2 beta have already a character control implemented


I will look at the demo

Thanks again, It is you very nice

kiko from Argentina
kikosmalltalk
 
Posts: 31
Joined: Mon Dec 04, 2006 10:48 am
Location: Argentina

Re: Complex character control ?

Postby Dave Gravel » Tue Apr 07, 2009 11:52 pm

I have finally find some old interesting demos in my old computer.
It is build from old newton version and some is build in directx.

Here a exemple showing one of my old experimental test.
http://www.youtube.com/watch?v=JLXFCs-i0ls

I try to rebuild a quick clean version from new newton version and I let's you know when i get something work if you like.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Complex character control ?

Postby kikosmalltalk » Wed Apr 08, 2009 7:07 am

Hi Dave

Thank you very much, this very good one !!!.

you wrote:
I try to rebuild a quick clean version from new newton version and I let's you know when i get something work if you like.


ok, thanks again

kiko
kikosmalltalk
 
Posts: 31
Joined: Mon Dec 04, 2006 10:48 am
Location: Argentina

Re: Complex character control ?

Postby VeT » Sat Apr 11, 2009 4:01 am

good video... so, did the character controller really changed since old version?
1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy
LiteC+Newton2 download: http://hosted.filefront.com/NeArGa
LiteC+Newton2 discussion: http://tinyurl.com/6l7y9v
VeT
 
Posts: 84
Joined: Thu Jul 31, 2008 11:31 am

Re: Complex character control ?

Postby Dave Gravel » Sat Apr 11, 2009 4:19 am

This character in the video is my personal and experimental method, it's not the method in coming from newton sdk.
Yes the new newton sdk character control have change from the old one and a lot.

About my method it have change a lot more because it is build with my engine + newton.
This engine is based on the old newton and the engine in self have some special helper too.
With newton 2 beta i have rewrite totally my engine and many helper is changed or working differently.
I need to rewrite my demo and get similar behaving from different method.

I don't think that is complex but it's more about the times to rewrite and over looking all modification.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Complex character control ?

Postby VeT » Sat Apr 11, 2009 7:25 am

I worked with gamestudio about 5 years now and i stil didnt find solution for character control(i used build-in functions like c_move and c_rotate, tried about 30 different variants), that satisfied me. Looking like Newton variant is very close to my target (for example, that one on your video)

Anyway, i found some character control code in DLL, but i didnt find any example. I tried some values in my wrapper, but either engine crashes, or nothing happens at all.
1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy
LiteC+Newton2 download: http://hosted.filefront.com/NeArGa
LiteC+Newton2 discussion: http://tinyurl.com/6l7y9v
VeT
 
Posts: 84
Joined: Thu Jul 31, 2008 11:31 am

Re: Complex character control ?

Postby DarthPhysics » Wed Apr 22, 2009 5:58 pm

Hi ,
I have look for that too but for robotics , it appear that we get exactly the same problem :?
If you look around in animation software for character , mechanics , robotics ... etc ...
You will see that EVERY from this soft use Inverse Kinematics (CCD ,DLS , Jacobian ... etc ).
But none have implemented that yet in the physics engine :wink:
Just wait and hope that anyone implement such function or try to program one by yourself like i do atm ... he he
If you have good maths knowledge look at Roboop , Ikan , or other open source library for IK , then you will be able
to do a universal ( character , spider , monster , robot ... ) controller :D

Cya.

PS : don't try to use Jacobian , there are too slow for real time , CCD and DLS are the fastest.
The theory is when we know all but nothing work.
The practice is when everything work but no one know why. <- that is me :) without the 'everything work'
User avatar
DarthPhysics
 
Posts: 44
Joined: Sun Apr 23, 2006 8:57 pm
Location: Boulay-Moselle , France


Return to User Gallery

Who is online

Users browsing this forum: No registered users and 9 guests

cron