• Home
  • Products
    • Game Engine
      • Base
      • Mathematics
      • Geometry
      • Physics
      • Particles
      • Animation
      • Graphics
      • Game
      • Game UI
    • Windows Forms
      • Docking Windows
      • Text Editor Control
  • Downloads
  • Buy
    • Overview
    • Professional
    • Indie
    • Non-Commercial
  • Support
    • Overview
    • Blog
    • Forum
    • License FAQ
    • Documentation
  • About
    • About Us
      • Services
    • Contact Us
    • Press
    • Legal Terms
      • Imprint (English)
      • Imprint (German)
Select the search type
 
  • Site
  • Web
Search
DigitalRune.com
Login |Register
NEWS News RSS Feed BLOG Blog RSS Feed FORUM News RSS Feed DOCUMENTATION DigitalRune Software on YouTube DigitalRune Software on Twitter
You are here: SupportForum

If you want to contribute to the forum discussions, please Register or Login.

SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineRagdoll and IKSoloversRagdoll and IKSolovers
Previous
 
Next
New Post
4/25/2012 8:27 AM
 
Kosta
No Ranking

Joined: 4/5/2012
Posts: 8
Ragdoll and IKSolovers 

Hi,

Is it posible to limit  Dude's hands and legs, so they do not go trough his body when I'm moving them using IKSolovers or Kinect?

I try to mix KinematicRagdollSample and TwoJointIKSample, just for testing, and I could not limit arms and legs, not to go through Dude's body.

Is it posible to do this, and if it is, how should I do this?

Thanks in advance

 
New Post
4/25/2012 10:01 AM
 
HelmutG
6th Level Poster

www.digitalrune.com
Joined: 10/15/2006
Posts: 565
Re: Ragdoll and IKSolovers 

Possible - but quite difficult. ;-)

It will not work with the KinematicRagdollSample because kinematic means that forces and constraints are not applied. Rotation limits and non-penetration of bodies are solved by the physics simulation using Constraints (which apply constraint forces/impulses). Therefore you would need a dynamic ragdoll.

If you use IK solvers, you have to take care of the limits yourself. That means you have to compare bone rotations, check if the relative bone rotation is valid and if it is invalid, rotate the bone to a valid rotation. We don't have built-in classes that do this. There are only some IK solvers where you can specify a LimitBoneTransforms callback method where you can do manual limit corrections.

You could also use a dynamic ragdoll. Ragdolls have limits and the physics simulation will make sure that the limits are not violated and that the bodies do not go through each other. To move a ragdoll you need to apply forces or constraints. This is shown in the RagdollMarionetteSample which is part of the KinectAnimationSample project (available on our blog).
Getting a ragdoll to follow the desired motion and keeping it stable at the same time can be very difficult.

It is important to note that IK solvers and ragdolls are not integrated with each other. Usually you use IK solvers or ragdolls - but not both at the same time.

 
 Page 1 of 1
Previous
 
Next
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineRagdoll and IKSoloversRagdoll and IKSolovers


DigitalRune is a trademark of Garstenauer Information Technology OG.

Garstenauer Information Technology OG
Weingartenstrasse 35, 4452 Ternberg
Austria (EUROPE)
office@digitalrune.com

Home Products Downloads Buy Support About Us
Game Engine Particles Windows Forms Professional Blog Services
Base Animation Docking Windows Indie Forum Contact Us
Mathematics Graphics Text Editor Control Non-Commercial License FAQ Press (News)
Geometry Game Documentation Legal Terms
Physics Game UI Imprint
Impressum
Copyright © 2006-2012 Garstenauer Information Technology OG Terms Of UsePrivacy Statement