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
3
votes
0 answers

Optimizing Ragdoll Behaviour in Unity

I'm trying to make a realistic transition between a walking animation and the falling process with a ragdoll. Basically when calling the "DoRagdoll" function, I'm adding the previous force from the walking animation to all rigidbody components in…
3
votes
0 answers

Can you do rag doll physics with Sprite Kit?

Is it possible to do rag doll physics in Sprite Kit? I haven't been able to find anything online about this. I think it would be possible since Sprite Kit has the needed joints. Has anyone done something similar? I'm going to fool around with it…
Chris Brasino
  • 296
  • 2
  • 14
3
votes
1 answer

Mapping Ragdoll to Model (DirectX and .X file + PhysX)

I'm trying to create ragdolls using an engine delivered by my teachers. We use DirectX 10, the .X format as mesh file (using assimp and a closed parser designed by the teachers) and Nvidia PhysX. I've got working animations (mesh deforms oke) and I…
TheGoozah
  • 101
  • 4
2
votes
1 answer

how can I sync ragdolls with Using Photon

I'm developing a multiple fps game with Unity using Photon PUN2 and I get a problem with using ragdolls sync player positions on the network player position moving random on every client how can I fix it I enable ragdoll with this code: public…
TanerSHN
  • 31
  • 2
2
votes
0 answers

Active ragdoll character stands still on the ground

I have a character which is controlled with physics stuff like Spring Joint and Constant Force (The character is active ragdoll). I want to stick the character's legs to the ground and when it is bent left and right, the entire character doesn't…
ATHellboy
  • 704
  • 3
  • 15
  • 30
2
votes
0 answers

Cannon.js - Is there a way to add physics to a character model?

I've been using Cannon.js with Three.js a lot recently and they work great together. There's to be one part which I'm struggling to find information/examples about. Is it possible to rig a character model using Cannon.js default shapes for…
danlong
  • 880
  • 1
  • 8
  • 21
2
votes
0 answers

Unity add force to ragdoll and stability

Sorry for my bad english. I want to add force to ragdoll like this: if (Physics.Raycast(this.transform.position, playerCamera.transform.forward, out hit, fireRange)) { if (hit.collider.tag == "Ragdoll") { …
송태환
  • 21
  • 2
2
votes
2 answers

Unity Physics Optimization (lots of rag doll character)

hi i am developing my new game it is like infinite runner. I am using object pooling for instantiate objects. i have lots of character with animation and rag doll. Physics are very big on my iPad 3 profiler. when i destroy characters everything is…
1
vote
0 answers

How would I check if an object has exceeded a certain angle?

I am working on an active ragdoll system and I want to make it so that the character goes completely limp after leaning too forwards or backwards. I do have a script for checking the character's hip rotation on the x axis but it seems to not work…
1
vote
1 answer

How to enlarge a ragdoll in game - Unity

I have a ragdoll. I want to increase the scale of this ragdoll in game mode. But when I increase the scale ragdoll' bones mingle and drool. How can i prevent this from happening? Related pictures below. Normal Scale 3x Scale
Murat Ugur
  • 13
  • 4
1
vote
1 answer

2D Ragdoll movement in unity

I tried make a Ragdoll game with my brother but the problem is that we try make a Ragdoll movement and we can make a movement but when we try this movement on the Ragdoll It just goes pretty normal. we know we need bones and things like that but we…
Boofi
  • 15
  • 5
1
vote
1 answer

How to addforce to a single Ragdoll limb in unity?

I'm trying to make a Ragdoll that can move each limb individually. However when I try testing this on the Ragdoll's right leg, I get this error. error CS1061:'CharacterJoint' does not contain a definition for 'AddForce' and no accessible extension…
Daniel dos Santos
  • 241
  • 4
  • 10
  • 25
1
vote
2 answers

Unity how to animate object's position without freezing it's position

I am currently working on a unity project and I have a stickman built by Hinge Joints but when I animate his legs and activate the animation, the legs stays at the same position and the rest of the body is moving forward. How can I animate the legs…
shahar
  • 355
  • 2
  • 18
1
vote
1 answer

Unity 2d Ragdoll Inconsistent issue

I have a 2d character(side scrolling) with run/idle animations and movement works fine too. also character is attached with die/ragdoll script and this script does 1- disable animator 2- disable rigidbody(for whole character) 3- disable…
Yogesh
  • 1,206
  • 4
  • 22
  • 50
1
vote
1 answer

Unity3d Ragdoll Stuck in box collider

I created a ragdoll for bike racing in Unity3d but when bike crashes and the ragdoll start dragging its hand stucks in the box colliders that are applied on sides i tried different methods, changed collision modes from Discrete to Continuous to…
Muhammad Bilal
  • 349
  • 1
  • 3
  • 13
1
2 3