Are constraints inside character gonna cause any significant lag?


#1

Hello, im working on new ragdoll system in my game and i came here to get important info.
As the title says, i put constraints inside characters so when they die - they gonna ragdoll instead of falling apart.

Im just not sure if those constraints are gonna cause any unwanted calculations during character movement and gameplay overall.

Is this safe and can i keep it? Or should i spawn those constraints and attachments when the character dies?

Constraints in my character:


#2

Instead of trying to build the constraints on character death, use the Enabled property on them instead. Disable them until the character dies.


#3

OH, yeah i forgot about that, hahahah, thanks pal! :stuck_out_tongue: