Questions tagged [ragdoll]

Rag-doll physics refers to the use of skeletal mesh structures in the context of realistic physics engines, allowing things like human bodies to be modelled fairly accurately.

Rag-doll physics refers to the use of skeletal mesh structures in the context of realistic physics engines, allowing things like human bodies to be modelled fairly accurately.

A single object is represented as a group of separate-but-connected parts (like the bones of a skeleton) rather than a single shape, so that each part can be moved around semi-independently by physical forces such as gravity.

31 questions
0
votes
0 answers

three.js dynamic skinned mesh bones animation / ragdoll or FPS dynamic aim

I have a dynamic animation question on a ragdoll I’m trying to build in three from a skinned mesh using cannonjs simulation. I can't figure out how to solve my issue. I got a skinned mesh, with some “chains” of bones that I animate dynamically. I…
0
votes
1 answer

Active ragdoll in pymunk

I'm writing a script in pymunk/pygame to create a character for a game. At this point, I have a ragdoll (the skeleton) with body parts linked by PinJoints. The problem is that in this way I don't have an active ragdoll, but only a dead stickman that…
0
votes
1 answer

how to change active rag doll pose

does anyone know how to change the parameters of a configurable joint in Unity to fit another pose and animation for an active rag doll character. here is the issue in a nutshell. I've got active rag doll working. I align the character is use for…
0
votes
0 answers

Unity Hololens2 move a Ragdoll by force

right now I am starting to code on a Hololens game in Unity. I want to move some body parts of a character but with physics. For example I move the hand of the character to his mouth, then I let go and the hand will fall to a normal position. To…
0
votes
0 answers

Cannot read properties of undefined (reading 'create')

I decided to create a game called Slinky Untangle. I chose to use Matter.JS, Executing the code, I get this TypeError: Cannot read properties of undefined (reading 'create') at /script.js:12:21 Here is my code. let…
GitSD
  • 46
  • 2
  • 10
0
votes
1 answer

Scale ragdoll character after collision in unity

I have a 3D ragdoll character and it collects coin like objects in game. I want to re-scale this character onTriggerEnter(). After scaling character, the character joint component is not updating therefore it looks like glitchy. I added script to…
0
votes
1 answer

How can I make a system to lock aim to different parts of body with IK?

I just had this idea and would like to learn how to implement, what I wanna do is, when I press a button character's aim and also IK for aim, like arm position or how he holds the weapon are adjusted to head, legs or body of NPC and shoots it.…
0
votes
1 answer

How to make ragdolls activate when clicked

i am trying to make ragdolls turn on when clicked, but i dont know how to do this. I have ragdoll already but script for turning on ragdoll doesnt works. using System.Collections; using System.Collections.Generic; using UnityEngine; public class…
Domi 636
  • 11
  • 1
  • 2
0
votes
1 answer

Is there a way to change the values of the CharacterJoint component (eg. hightwistlimit) in a script in unity?

I want to change the various joint angles of the characterjoint with a script in runtime. But I didn't find a way to access the angles via script. I found the scripting API for characterjoints…
SoulPixel
  • 31
  • 6
0
votes
0 answers

How to keep my collider from separating from my Ragdoll

I created a Ragdoll with all the joints. I added a Capsule Collider. When he falls and hits something, the collider separates and falls without the ragdoll? The Ragdoll also has a RigidBody. [![enter image description here][1]][1]
0
votes
1 answer

Issues with Unity's Ragdoll Character Creator, Rigidbody[] Arrays, and general code issues

TL;DR: Why can I only "kill" my first enemy, but the rest aren't affected by my attempt to turn their components off? Overview Hi Guys and Gals, I'm running into issues with my AI switching to Ragdoll when the player kills them, but more…
0
votes
1 answer

Cannot assign "Death" because its a method group

I have recently started to learn c# but I have encountered an error which I hope some of you will be able to help me with. We are developing a game in Unity5 and when the players health hits 0 the rag-doll function will kick in but unfortunately I…
0
votes
1 answer

What is the purpose of setEulerZYX() in bullet physics?

I have been looking into the RagdollDemo and have kind of got stuck in the part where setEulerZYX() is used in basis matrix. transform.setIdentity(); transform.setOrigin(btVector3(btScalar(-0.35), btScalar(1.45), btScalar(0.))); …
user3124361
  • 471
  • 5
  • 21
-1
votes
0 answers

Does UPBGE have a "Rotation Drive Mode - Slerp" parameter for a Joint like in Unity?

Unity has a "Rotation Drive Mode - Slerp" parameter to give elasticity to the JOINT. Is there something similar in UPBGE? I know that if you connect two objects with an EMPTY and assign the type "spring" to it, you can get a similar effect. But this…
-1
votes
1 answer

My raycast is not activating my enemies death in Unity 3D

I've been trying to make my enemy fall when it's health reaches zero. So I made a damage variable. The damage will subtract to the health and when it reaches zero or lower, he's supposed to turn into a ragdoll. But its seems as he's not dying in the…