Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  New User with a Question
#2
(25-10-2021, 04:20 PM)Fearinhell Wrote: Ok Im trying to develop a game and use obi cloth, I want to change avatar size during game play but this seems to be giving obi cloth fits.  Lets use underwear as an example when I adjust character size from 1.0 to .75 the underwear drops to thigh level and starts going through the character.  I have adjusted the blueprint of skinned cloth to work at size 1.0 but it doesnt seem to adjust after that.  Ive tried toggling the object off and on and for a split second the underwear is in place with the new size but then goes all wonky again.  Thanks in advanced.

Hi,

Deformable objects cannot be scaled at runtime. This affects cloth, ropes and softbodies, both in Obi and other engines as well.

The reason for this is that unlike a rigid object, a deformable object does not have a clear “center” to be scaled about, as it can freely deform. Same for rotation and translation, you can’t express the position/rotation/scale of a deformable object using a single transformation matrix.

That’s why the blueprint has a “scale” attribute: scale is baked into the cloth’s rest state.
Reply


Messages In This Thread
New User with a Question - by Fearinhell - 25-10-2021, 04:20 PM
RE: New User with a Question - by josemendez - 25-10-2021, 04:39 PM
RE: New User with a Question - by Fearinhell - 25-10-2021, 04:52 PM
RE: New User with a Question - by josemendez - 25-10-2021, 04:55 PM
RE: New User with a Question - by Fearinhell - 25-10-2021, 06:06 PM
RE: New User with a Question - by josemendez - 26-10-2021, 08:37 AM
RE: New User with a Question - by Fearinhell - 26-10-2021, 08:10 PM