Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental Ragdoll integration #217

Open
wants to merge 13 commits into
base: trusssprings
Choose a base branch
from

Conversation

XPerianer
Copy link
Collaborator

It was easier than I thought to integrate the MsPhysics animation with the other geometry_animation.

I tried to simulate a very basic concept, a thetra with a gas spring on the side, supposed to be one arm of the puppet. (The rendered triangle shows the top triangle of that tetra).

It is possible to move both together, and they somehow show physic behaviour.
We have however the typical ms physics problem of oscillating behaviour that generates energy, and some weird flip overs as you can also see in the video. It was also harder than I thought to just visualize by some cylinders.

Ideas for further improvment:

  • Don't use gas springs, but springs that are not so sensible to exploding behaviour. Maybe even a pid controller or custom force function link
  • Play around with different geometry setups
  • Interpolate the animation position and do more/less msPhysics advance calls, to try to get realistic behaviour
  • Use a model we have to only transform to display the ragdoll, don't build it up by primitives

Video link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants