playMaker

Author Topic: BlendShapes with Mouse Position  (Read 1445 times)

madfires

  • Playmaker Newbie
  • *
  • Posts: 3
BlendShapes with Mouse Position
« on: August 07, 2021, 01:02:22 PM »
hi there!

I'm wondering how should I go about making FSM that affects BlendShapes with Mouse Position. So Idea is the closer the mouse gets to the object the more BlendShape value gets.

Final result should be that mouse hovers over an eye and it opens more the closer mouse gets. Setup is that Camera is locked in 3d game.

Any help would be greatly appreciated

madfires

  • Playmaker Newbie
  • *
  • Posts: 3
Re: BlendShapes with Mouse Position
« Reply #1 on: August 11, 2021, 05:02:22 AM »
ok I managed to sort it out with Brokn on discord helping me out!

this is how I managed to do it
Added follow object on cursor. Get distance.  Float remap.  Found out what distance works with debug. And added Set BlendShape, that's it!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: BlendShapes with Mouse Position
« Reply #2 on: August 11, 2021, 07:29:50 AM »
Hi.
Thanks for sharing the solution.  :)

madfires

  • Playmaker Newbie
  • *
  • Posts: 3
Re: BlendShapes with Mouse Position
« Reply #3 on: August 11, 2021, 12:02:39 PM »
no problem, figured someone might search for it and would not need to make a new post about it  ;D