playMaker

Author Topic: PoseSpaceDeformation management[SOLVED]  (Read 1466 times)

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • multiplayer adult fighting
PoseSpaceDeformation management[SOLVED]
« on: February 09, 2017, 05:33:33 PM »


I'm making a character where corrective blendShapes are driven by the bones angels. For example: if left_thigh bone change rotation from 360 to 270 - left_thigh_correction shape should change value from 0 to 100.

I understand, that my main action is "get property" for taking the angle and "set blend shape weight" for driving blends. And it works perfectly. But I'm not sure how exactly I can connect the values? For now I'm thinking about building a complex state that do actions like: 360-270 = 90; so i need some coeff to match 0..100 to 0..90, and if angle is 360 the first value should... and so on.

But I'm sure there should be very simples solution to match two ranges. Any advises?  ???
« Last Edit: February 10, 2017, 09:06:27 AM by jeanfabre »
indie developer of multiplayer adult fighting
http://nakedfighter3d.com

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PoseSpaceDeformation management
« Reply #1 on: February 10, 2017, 02:47:07 AM »
Hi,

 Have you tried FloatRemap on the Ecosystem? it's meant to do this.

 Bye,

 Jean

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • multiplayer adult fighting
Re: PoseSpaceDeformation management
« Reply #2 on: February 10, 2017, 06:59:19 AM »
Thanks! That's exactly what I need  ;D
indie developer of multiplayer adult fighting
http://nakedfighter3d.com